3 import Control.Monad.Eff
6 (?!) :: forall a. a -> a -> a
9 bar :: String -> String -> String
10 bar = \s1 s2 -> s1 ++ s2
12 test1 :: forall n. (Num n) => n -> n -> (n -> n -> n) -> n
13 test1 x y z = x * y + z x y
15 test2 = (\x -> x.foo false) { foo : \_ -> 1 }
17 test3 = (\x y -> x)(1 + 2 * (1 + 2)) (true && (false || false))
25 (%%) :: Number -> Number -> Number
30 test6 = ((\x -> x) `k` 2) 3
32 (<+>) :: String -> String -> String
33 (<+>) = \s1 s2 -> s1 ++ s2
35 test7 = "Hello" <+> "World!"
37 (@@) :: forall a b. (a -> b) -> a -> b
40 foo :: String -> String
43 test8 = foo @@ "Hello World"
45 test9 = Main.foo @@ "Hello World"
47 test10 = "Hello" `Main.bar` "World"
49 (...) :: forall a. [a] -> [a] -> [a]
50 (...) = \as -> \bs -> as
52 test11 = [1, 2, 3] ... [4, 5, 6]
54 test12 (<%>) a b = a <%> b
56 test13 = \(<%>) a b -> a <%> b
58 test14 :: Number -> Number -> Boolean
61 test15 :: Number -> Number -> Boolean
62 test15 a b = const false $ a `test14` b
65 let t1 = test1 1 2 (\x y -> x + y)
76 let t12 = test12 k 1 2
77 let t13 = test13 k 1 2
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