Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

x' -> x, add a normal binding test

  • Loading branch information...
commit 1181d156915c8c49b8e446d1f1f9a36aa782b7a8 1 parent 9b8a049
Mike Ledger authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 Test.hs
8 Test.hs
View
@@ -1,5 +1,4 @@
import Language.Haskell.Repl
-import Control.Monad
(-->) = (,)
@@ -26,6 +25,7 @@ main = do
, "classes" --> "class Abc a b | a -> b"
, "instances" --> "instance Abc X X'"
, "let-bindings" --> "let x = X; x' = X' x"
+ , "normal binding (should fail)"--> "asdf = 31"
]
test "Types"
@@ -35,11 +35,13 @@ main = do
test "Kinds"
[ ":k X" --> ":k X"
+ , ":k Abc" --> ":k Abc"
]
test "Misc"
[ "info" --> ":i Monoid"
- , "undefining" --> ":d x'"
+ , "undefining x" --> ":d x"
+ , "try to get x anyway" --> ":t x"
, "clear" --> ":c"
- , "(try to get something)" --> ":t X"
+ , "try to get X anyway" --> ":t X"
]
Please sign in to comment.
Something went wrong with that request. Please try again.