aboutsummaryrefslogtreecommitdiff
path: root/src/Error/Base.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Error/Base.hs')
-rw-r--r--src/Error/Base.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Error/Base.hs b/src/Error/Base.hs
index ef32d52..747904a 100644
--- a/src/Error/Base.hs
+++ b/src/Error/Base.hs
@@ -24,7 +24,7 @@ literal v = "`" <> v <> "`"
24 24
25instance Show LispError where 25instance Show LispError where
26 show (Parse e) = "Parser Error: " ++ show e 26 show (Parse e) = "Parser Error: " ++ show e
27 show (BadForm s expr) = "Bad Form: " ++ literal s ++ ": " ++ show expr 27 show (BadForm s expr) = "Bad Form: " ++ s ++ ": " ++ show expr
28 -- TODO: clean this up 28 -- TODO: clean this up
29 show (ArgCount fn n es) 29 show (ArgCount fn n es)
30 | null es = "Invalid arity, " ++ literal fn ++ " expects " ++ show n ++ " or more expression(s)!" 30 | null es = "Invalid arity, " ++ literal fn ++ " expects " ++ show n ++ " or more expression(s)!"