This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TypeFamilies #-} | |
import Data.Functor | |
import Data.Functor.Compose | |
import qualified Data.Foldable as F | |
import Data.Knot | |
import qualified Data.Map as M | |
import qualified Data.Traversable as T | |
-- * Functor data types | |
-- ** Person' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
module Parser where | |
import Data.Char | |
-- | Built-in functions in our language: | |
data BuiltFn | |
= Nat Integer -- ^ Natural number | |
deriving (Eq, Ord, Read, Show) |