4import Control.Monad.Eff
5import Control.Monad.Eff.Console
8bug :: Number -> Number -> Number
12 assert (bug 0.0 2.0 == 2.0)
13 assert (0.0 - (0.0 - 2.0) == 2.0)
14 assert (0.0 - (0.0 + 2.0) == -2.0)
15 assert (6.0 / (3.0 * 2.0) == 1.0)
16 assert ((6.0 / 3.0) * 2.0 == 4.0)
17 assert (not (1.0 < 0.0) == true)
18 assert (not ((negate 1.0) < 0.0) == false)
19 assert (negate (1.0 + 10.0) == -11.0)
20 assert (2.0 * 3.0 / 4.0 == 1.5)
21 assert (1.0 * 2.0 * 3.0 * 4.0 * 5.0 / 6.0 == 20.0)
22 assert (1.0 + 10.0 - 5.0 == 6.0)
23 assert (1.0 + 10.0 * 5.0 == 51.0)
24 assert (10.0 * 5.0 - 1.0 == 49.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