5data Maybe a = Nothing | Just a
7instance functorMaybe :: Functor Maybe where
8 map f Nothing = Nothing
9 map f (Just x) = Just (f x)
11instance applyMaybe :: Apply Maybe where
12 apply (Just f) (Just x) = Just (f x)
15instance applicativeMaybe :: Applicative Maybe where
18instance bindMaybe :: Bind Maybe where
19 bind Nothing _ = Nothing
22instance monadMaybe :: Prelude.Monad Maybe
34 Nothing :: Maybe Number
51 f :: forall a. Maybe a -> a
59test9 = \_ -> (+) <$> Just 1.0 <*> Just 2.0
67main = Control.Monad.Eff.Console.log "Done"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list