@@ -35,3 +35,21 @@ main = do
35 -- Eq instance
35 -- Eq instance
36 assertTrue $ undefined == undefined
36 assertTrue $ undefined == undefined
37 assertTrue $ (stringLit :: StringLit "foo") == (stringLit :: StringLit "foo")
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"