4import Control.Monad.Eff
19 where f x y z = x + y + z
22test4 = f (+) [1.0, 2.0]
23 where f x [y, z] = x y z
28 f x | x > 0.0 = g (x / 2.0) + 1.0
30 g x = f (x - 1.0) + 1.0
32test6 = if f true then f 1.0 else f 2.0
33 where f :: forall a. a -> a
36test7 :: Number -> Number
39 go y | (x - 0.1 < y * y) && (y * y < x + 0.1) = y
40 go y = go $ (y + x / y) / 2.0
43 Control.Monad.Eff.Console.print (test1 1.0)
44 Control.Monad.Eff.Console.print (test2 1.0 2.0)
45 Control.Monad.Eff.Console.print test3
46 Control.Monad.Eff.Console.print test4
47 Control.Monad.Eff.Console.print test5
48 Control.Monad.Eff.Console.print test6
49 Control.Monad.Eff.Console.print (test7 100.0)
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