]> git.rmz.io Git - my-scheme.git/commitdiff
Show values (except Lists)
authorSamir Benmendil <me@rmz.io>
Tue, 23 Jan 2018 22:27:16 +0000 (22:27 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 23 Jan 2018 22:27:16 +0000 (22:27 +0000)
We introduce a `showVal :: LispVal -> String` function, to turn a
LispVal into a printable string.

This function uses pattern matching to "specialize" on various types.
The declaration that matches the specific type is chosen.


No differences found