Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

enhance display for users #27

Merged
merged 2 commits into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ instance Eq Define where
---------- SHOW INSTANCES ----------

instance Show Tree where
show (Number a) = "N:'" ++ show a ++ "'"
show (Symbol a) = "S:'" ++ a ++ "'"
show (Boolean value) = "B: " ++ show value
show (List list) = "L: " ++ show list
show (Number a) = show a
show (Symbol a) = a
show (Boolean value) = show value
show (List list) = show list

instance Show Env where
show (Env { defines = def, errors = err, functions = func }) =
Expand Down