Minor fix to REPL output for numbers

Uses # instead of text output. Adds several basic library functions.
This commit is contained in:
2024-12-27 16:09:54 -06:00
committed by James Eversole
parent 1224961c62
commit 2c75f58e42
2 changed files with 31 additions and 10 deletions

View File

@ -35,5 +35,5 @@ decodeResult tc =
case ofString tc of
Right str -> "\"" ++ str ++ "\""
Left _ -> case ofNumber tc of
Right num -> "Number: " ++ show num
Right num -> "# " ++ show num
Left _ -> "Failed to decode number from Tree"