4import Control.Monad.Eff.Console (log)
6test1 = \_ -> show "testing"
8f :: forall a. (Show a) => a -> String
11test2 = \_ -> f "testing"
13test7 :: forall a. (Show a) => a -> String
16test8 = \_ -> show $ "testing"
20instance showData :: (Show a) => Show (Data a) where
21 show (Data a) = "Data (" <> show a <> ")"
23test3 = \_ -> show (Data "testing")
25instance functorData :: Functor Data where
28instance applyData :: Apply Data where
31instance applicativeData :: Applicative Data where
34instance bindData :: Bind Data where
37instance monadData :: Monad Data
39data Maybe a = Nothing | Just a
41instance functorMaybe :: Functor Maybe where
44instance applyMaybe :: Apply Maybe where
47instance applicativeMaybe :: Applicative Maybe where
50instance bindMaybe :: Bind Maybe where
51 bind Nothing _ = Nothing
54instance monadMaybe :: Monad Maybe
56test4 :: forall a m. (Monad m) => a -> m Number
59test5 = \_ -> Just 1.0 >>= \n -> pure (n + 1.0)
65test9 _ = runReader 0.0 $ do
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