Referees-0.0.0: A utility for computing distributions of material to review among reviewers.

Copyright(c) Pablo Couto 2014
LicenseGPL-3
Maintainerpablo@infty.in
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Referees.Types.Internal

Contents

Description

Types and constructors for use in Referees.

Synopsis

Core types

data Entry subtype Source

Constructors

Entry 

Instances

Eq (Entry subtype) 
Show (Entry subtype) 

Subtypes

data Referee Source

Constructors

Referee 

data Proposal Source

Constructors

Proposal 

Others

For parsing

data CSV_Warning Source

For warning about issues that may take place during parsing.

newtype StringListParse sep Source

Constructors

StrLstP 

Fields

_strLstP :: [String]
 

data CSVentry Source

This type and its FromField instance declarations are used to describe the parsing rules for reconstruction of Entry values from CSV files.

The two FromField instance declarations here (vid. source) enable silent conditional parsing of the second field in a CSV file with 4 fields. In this scenario, if the second field is parseable as Int, it is parsed as MaybeCapacityParse (a wrapper for Maybe Capacity); otherwise, as StringListParse Semicolon (a wrapper for [String]).

Instances