6import Literals (NumberLit, StringLit, IntLit, intLit, numberLit, stringLit)
7import Literals.Undefined (undefined)
8import Test.Assert (assertEqual, assertTrue)
9import Unsafe.Coerce (unsafeCoerce)
15 { actual: unsafeCoerce (stringLit :: StringLit "foo")
19 { actual: unsafeCoerce (numberLit :: NumberLit "8.0")
23 { actual: unsafeCoerce (numberLit :: NumberLit "-8.0")
27 { actual: unsafeCoerce (intLit :: IntLit "8")
31 { actual: unsafeCoerce (intLit :: IntLit "-8")
36 assertTrue $ undefined == undefined
37 assertTrue $ (stringLit :: StringLit "foo") == (stringLit :: StringLit "foo")
41 { actual: show (stringLit :: StringLit "foo")
42 , expected: "(Literal \"foo\")"
45 { actual: show (numberLit :: NumberLit "8.0")
46 , expected: "(Literal 8.0)"
49 { actual: show (intLit :: IntLit "8")
50 , expected: "(Literal 8)"
53 { actual: show undefined
54 , expected: "Undefined"
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