cookbook-3.0.0.1: Tiered general-purpose libraries with domain-specific applications.

PortabilityPortable (Cookbook)
StabilityStable
Maintainernathanpisarski@gmail.com
Safe HaskellSafe-Inferred

Cookbook.Project.Quill2.Q2Prelude

Description

Q2Prelude is the entry-level module for Quill2. It defines the data types that define data, databases, and errors throughout the rest of Quill2.

Synopsis

Documentation

data Element a Source

The body of a table or list.

Constructors

List [a] 
Table [(a, a)] 

Instances

Eq a => Eq (Element a) 
Show a => Show (Element a) 

type Quill = (String, Element String)Source

Helper type. Binds a name to a body.

data QuillStatus a Source

Encapsulates errors in the quill database. Currently supports Missing elements and Multiple Instances.

Instances

Eq a => Eq (QuillStatus a) 
Show a => Show (QuillStatus a) 

data QuillAddition Source

Safe way of adding items to a Quill database. Allows type-checking on Lists and Tables when manipulating Elements.

Constructors

AList (String, String) 
ATable (String, String, String)