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

Commit

Permalink
enhance display for users
Browse files Browse the repository at this point in the history
  • Loading branch information
TTENSHII authored and Saverio976 committed Dec 18, 2023
1 parent 4827087 commit 2e38155
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 2e38155

Please sign in to comment.