Home
last modified time | relevance | path

Searched refs:groupWith (Results 1 – 25 of 161) sorted by relevance

1234567

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-exactprint-0.6.4/tests/examples/ghc80/
H A DTest10312.hs69 groupByLargest f = sortBy (comparing (negate . length)) . groupWith f
79 , then group by Down (p,d') using groupWith ]
/dports/lang/ghc/ghc-8.10.7/libraries/base/GHC/
H A DExts.hs78 Down(..), groupWith, sortWith, the,
139 groupWith :: Ord b => (a -> b) -> [a] -> [[a]]
140 groupWith f xs = build (\c n -> groupByFB c n (\x y -> f x == f y) (sortWith f xs)) function
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-exactprint-0.6.4/tests/examples/ghc710/
H A DListComprehensions.hs69 groupByLargest f = sortBy (comparing (negate . length)) . groupWith f
79 , then group by Down (p,d') using groupWith ]
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/fourmolu-0.3.0.0/data/examples/declaration/value/function/comprehension/
H A Dtransform-multi-line4-out.hs16 groupWith -- Third comment
H A Dtransform-multi-line4.hs14 groupWith -- Third comment
H A Dtransform-multi-line4-four-out.hs16 groupWith -- Third comment
H A Dtransform-single-line-four-out.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
H A Dtransform-single-line.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
H A Dtransform-single-line-out.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ormolu-0.1.4.1/data/examples/declaration/value/function/comprehension/
H A Dtransform-monad-out.hs17 groupWith -- Third comment
H A Dtransform-multi-line4-out.hs16 groupWith -- Third comment
H A Dtransform-monad.hs15 groupWith -- Third comment
H A Dtransform-multi-line4.hs14 groupWith -- Third comment
H A Dtransform-single-line.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
H A Dtransform-single-line-out.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
/dports/devel/hs-ormolu/ormolu-0.4.0.0/data/examples/declaration/value/function/comprehension/
H A Dtransform-monad.hs15 groupWith -- Third comment
H A Dtransform-multi-line4-out.hs16 groupWith -- Third comment
H A Dtransform-multi-line4.hs14 groupWith -- Third comment
H A Dtransform-monad-out.hs17 groupWith -- Third comment
H A Dtransform-single-line-out.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
H A Dtransform-single-line.hs9 quux xs ys = [(x, y) | x <- xs, y <- ys, then group by (x + y) using groupWith]
/dports/lang/ghc/ghc-8.10.7/libraries/base/Data/List/
H A DNonEmpty.hs71 , groupWith -- :: (Foldable f, Eq b) => (a -> b) -> f a -> [NonEmpty a]
356 groupWith :: (Foldable f, Eq b) => (a -> b) -> f a -> [NonEmpty a]
357 groupWith f = groupBy ((==) `on` f) function
363 groupAllWith f = groupWith f . List.sortBy (compare `on` f)
/dports/math/hs-Agda/Agda-2.6.2/_cabal_deps/base-compat-0.11.1/src/Data/List/NonEmpty/
H A DCompat.hs51 , groupWith
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/base-compat-0.11.1/src/Data/List/NonEmpty/
H A DCompat.hs51 , groupWith
/dports/games/hedgewars-server/hedgewars-src-1.0.0/gameServer/_cabal_deps/base-compat-0.11.1/src/Data/List/NonEmpty/
H A DCompat.hs51 , groupWith

1234567