Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
type
Spider = SpiderTimeline Globalreflex Reflex.Spider The default, global Spider environment
-
reflex Reflex.Spider The monad for actions that manipulate a Spider timeline identified by x
-
reflex Reflex.Spider Designates the default, global Spider timeline
newSpiderTimeline :: IO (Some SpiderTimelineEnv)reflex Reflex.Spider Create a new SpiderTimelineEnv
runSpiderHost :: SpiderHost Global a -> IO areflex Reflex.Spider Run an action affecting the global Spider timeline; this will be guarded by a mutex for that timeline