Minor fix
This commit is contained in:
parent
2555d5b97b
commit
d77a4d2460
|
@ -22,7 +22,7 @@ instance Show Expr where
|
||||||
where showCons (ConsE x NilE) = show x ++ ")"
|
where showCons (ConsE x NilE) = show x ++ ")"
|
||||||
showCons (ConsE x xs) = show x ++ " " ++ show xs ++ ")"
|
showCons (ConsE x xs) = show x ++ " " ++ show xs ++ ")"
|
||||||
show (LambdaE s e) = "#[lambda " ++ s ++ " " ++ show e ++ "]"
|
show (LambdaE s e) = "#[lambda " ++ s ++ " " ++ show e ++ "]"
|
||||||
show (QuotedE e) = "Q" ++ show e
|
show (QuotedE e) = show e
|
||||||
show NilE = "nil"
|
show NilE = "nil"
|
||||||
|
|
||||||
cons2List :: Expr -> [Expr]
|
cons2List :: Expr -> [Expr]
|
||||||
|
|
Loading…
Reference in New Issue