Skip to content

Instantly share code, notes, and snippets.

module LispParser where
import Control.Monad
import Text.ParserCombinators.Parsec hiding (spaces)
data LispVal = Atom String
| List [LispVal]
| Vector (Int, [LispVal])
| DottedList [LispVal] LispVal
| Number Integer