Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
protolude Protolude The strictness that the compiler inferred for the selector
stimesIdempotent :: Integral b => b -> a -> aprotolude Protolude This is a valid definition of stimes for an idempotent Semigroup. When x <> x = x, this definition should be preferred, because it works in <math> rather than <math>.
stimesIdempotentMonoid :: (Integral b, Monoid a) => b -> a -> aprotolude Protolude This is a valid definition of stimes for an idempotent Monoid. When x <> x = x, this definition should be preferred, because it works in <math> rather than <math>
stimesMonoid :: (Integral b, Monoid a) => b -> a -> aprotolude Protolude This is a valid definition of stimes for a Monoid. Unlike the default definition of stimes, it is defined for 0 and so it should be preferred where possible.
-
protolude Protolude.Debug Warning: traceId remains in code
traceShowId :: Show a => a -> aprotolude Protolude.Debug Warning: traceShowId remains in code
void :: Functor f => f a -> f ()protolude Protolude.Functor void value discards or ignores the result of evaluation, such as the return value of an IO action.
Examples
Replace the contents of a Maybe Int with unit:>>> void Nothing Nothing
>>> void (Just 3) Just ()
Replace the contents of an Either Int Int with unit, resulting in an Either Int ():>>> void (Left 8675309) Left 8675309
>>> void (Right 8675309) Right ()
Replace every element of a list with unit:>>> void [1,2,3] [(),(),()]
Replace the second element of a pair with unit:>>> void (1,2) (1,())
Discard the result of an IO action:>>> mapM print [1,2] 1 2 [(),()]
>>> void $ mapM print [1,2] 1 2
coincidence :: Reflex t => Event t (Event t a) -> Event t areflex Reflex.Class Create an Event that will occur whenever the input event is occurring -- and its occurrence value, another Event, is also occurring. You maybe looking for 'switchHold never' instead.
-
reflex Reflex.Requester.Class Emit a request whenever the given Event fires, and unwrap the responses before returning them. Response m must be Identity.
-
No documentation available.