3 (@@) :: forall a b. (a -> b) -> a -> b
6 foo :: String -> String
9 test8 = foo @@ "Hello World"
11 bar = \s1 s2 -> s1 ++ s2
13module Operators2 where
15 test1 = \(x, y, z) -> x * y + z(x)(y)
17 test2 = (\x -> x.foo false) { foo : \_ -> 1 }
19 test3 = (\(x, y) -> x)(1 + 2 * (1 + 2), true && (false || false))
27 (%%) = \x -> \y -> x * y + y
31 test6 = ((\x -> x) `k` 2) 3
33 (<>) = \s1 -> \s2 -> s1 ++ s2
35 test7 = "Hello" <> "World!"
37 test9 = Operators1.foo Operators1.@@ "Hello World"
39 test10 = "Hello" `Operators1.bar` "World"
41 (...) :: forall a. [a] -> [a] -> [a]
42 (...) = \as -> \bs -> as
44 test11 = [1, 2, 3] ... [4, 5, 6]
46 test12 (<%>) a b = a <%> b
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