Hoogle Search
Within LTS Haskell 24.27 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
id :: forall (a :: k) . Category cat => cat a afoundation Foundation the identity morphism
-
prelude-compat Prelude2010 Identity function.
id x = x
This function might seem useless at first glance, but it can be very useful in a higher order context.Examples
>>> length $ filter id [True, True, False, True] 3
>>> Just (Just 3) >>= id Just 3
>>> foldr id 0 [(^3), (*5), (+2)] 1000
-
synthesizer-core Synthesizer.Causal.Process No documentation available.
-
mixed-types-num Numeric.MixedTypes.PreludeHiding Identity function.
id x = x
This function might seem useless at first glance, but it can be very useful in a higher order context.Examples
>>> length $ filter id [True, True, False, True] 3
>>> Just (Just 3) >>= id Just 3
>>> foldr id 0 [(^3), (*5), (+2)] 1000
id :: forall (arrow :: Type -> Type -> Type) sample . Category arrow => T arrow sample samplesynthesizer-dimensional Synthesizer.Dimensional.Arrow No documentation available.
-
synthesizer-dimensional Synthesizer.Dimensional.Causal.Process No documentation available.
id :: forall (arrow :: Type -> Type -> Type) sample . Category arrow => T arrow sample samplesynthesizer-dimensional Synthesizer.Dimensional.Map No documentation available.
-
LambdaHack Game.LambdaHack.Core.Prelude Identity function.
id x = x
This function might seem useless at first glance, but it can be very useful in a higher order context.Examples
>>> length $ filter id [True, True, False, True] 3
>>> Just (Just 3) >>= id Just 3
>>> foldr id 0 [(^3), (*5), (+2)] 1000
-
cabal-install-solver Distribution.Solver.Compat.Prelude Identity function.
id x = x
This function might seem useless at first glance, but it can be very useful in a higher order context.Examples
>>> length $ filter id [True, True, False, True] 3
>>> Just (Just 3) >>= id Just 3
>>> foldr id 0 [(^3), (*5), (+2)] 1000
-
clash-prelude Clash.HaskellPrelude Identity function.
id x = x
This function might seem useless at first glance, but it can be very useful in a higher order context.Examples
>>> length $ filter id [True, True, False, True] 3
>>> Just (Just 3) >>= id Just 3
>>> foldr id 0 [(^3), (*5), (+2)] 1000