aboutsummaryrefslogtreecommitdiff
path: root/src/Error.hs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-10-09 14:22:45 +0100
committerAkshay <[email protected]>2020-10-09 14:22:45 +0100
commit5097a20545bbeeafec191f97e9d0ae3d215ada90 (patch)
tree868dd79407cb55b0b75bc45e147ec472bfa49b22 /src/Error.hs
parent217fbf90c4e632a298fbe8a31ef18b71c6bce2ce (diff)
add binary boolean operators
Diffstat (limited to 'src/Error.hs')
-rw-r--r--src/Error.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Error.hs b/src/Error.hs
index 165cc5c..5ba48bf 100644
--- a/src/Error.hs
+++ b/src/Error.hs
@@ -20,7 +20,7 @@ unwordsList = unwords . map show
20instance Show LispError where 20instance Show LispError where
21 show (Parse e) = "Parser Error: " ++ show e 21 show (Parse e) = "Parser Error: " ++ show e
22 show (BadForm s expr) = "Bad Form: " ++ s ++ ": " ++ show expr 22 show (BadForm s expr) = "Bad Form: " ++ s ++ ": " ++ show expr
23 show (ArgCount n es) = "Invalid arity, expected " ++ show n ++ ", got values: " ++ unwordsList es 23 show (ArgCount n es) = "Invalid arity, expected " ++ show n ++ ", got value(s): " ++ unwordsList es
24 show (UnknownFunction fn) = "Cannot apply function: " ++ fn 24 show (UnknownFunction fn) = "Cannot apply function: " ++ fn
25 show (TypeMismatch msg got) = "Type mismatch, expected " ++ msg ++ ", got: " ++ show got 25 show (TypeMismatch msg got) = "Type mismatch, expected " ++ msg ++ ", got: " ++ show got
26 26