]> git.rmz.io Git - my-scheme.git/commit
Define a parser for various symbols in Scheme
authorSamir Benmendil <me@rmz.io>
Sat, 13 Jan 2018 22:41:38 +0000 (22:41 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 13 Jan 2018 22:41:38 +0000 (22:41 +0000)
commitf842fb4a461de09bae23b67773611ba08cd21885
tree69d733f40622a14a2ee5c1e9346c81d3f44a1be4
parentf124ec5ddc0b30d092be82eb7b9fd3a9d1f47990
Define a parser for various symbols in Scheme

`symbol :: Parser Char` is probably not needed (?)

I don't understand where the `Parser` type comes from, I cannot see it
in the doc of `Text.ParserCombinators.Parsec`. It may be that
`ParserCombinators` is a compatibility layer and that `Parser` is
defined somewhere else.

`oneOf` is provided by Parsec.
app/Main.hs