ermine-0.6: Ermine

Copyright(c) Dan Doel 2013
LicenseBSD3
MaintainerDan Doel <dan.doel@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Ermine.Parser.Data

Description

This module provides the parser for types

Synopsis

Documentation

constr :: (Monad m, TokenParsing m) => m (Constructor (Maybe Text) (Var Text Text)) Source

Parse a data constructor

dataType :: (Monad m, TokenParsing m) => m (DataType () Text) Source

Data a data declaration