exigo-schema-0.2.0.2: database schema for exigo marking/assessment tools

Safe HaskellNone
LanguageHaskell2010

Exigo.Types

Description

Types used in exigo programs.

Synopsis

Documentation

data Question Source #

a question (smallest assessable unit) in an assessment

Constructors

Question 

Fields

Instances
Eq Question Source # 
Instance details

Defined in Exigo.Types

Show Question Source # 
Instance details

Defined in Exigo.Types

Generic Question Source # 
Instance details

Defined in Exigo.Types

Associated Types

type Rep Question :: Type -> Type #

Methods

from :: Question -> Rep Question x #

to :: Rep Question x -> Question #

Lift Question Source # 
Instance details

Defined in Exigo.Types

Methods

lift :: Question -> Q Exp #

FromJSON Question Source # 
Instance details

Defined in Exigo.Types

Methods

parseJSON :: Value -> Parser Question

parseJSONList :: Value -> Parser [Question]

ToJSON Question Source # 
Instance details

Defined in Exigo.Types

Methods

toJSON :: Question -> Value

toEncoding :: Question -> Encoding

toJSONList :: [Question] -> Value

toEncodingList :: [Question] -> Encoding

type Rep Question Source # 
Instance details

Defined in Exigo.Types

data AssessmentMetadata Source #

metadata about an assessment.

Instances
Eq AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

Show AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

Generic AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

Associated Types

type Rep AssessmentMetadata :: Type -> Type #

Lift AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

FromJSON AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

Methods

parseJSON :: Value -> Parser AssessmentMetadata

parseJSONList :: Value -> Parser [AssessmentMetadata]

ToJSON AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

type Rep AssessmentMetadata Source # 
Instance details

Defined in Exigo.Types

type Rep AssessmentMetadata = D1 (MetaData "AssessmentMetadata" "Exigo.Types" "exigo-schema-0.2.0.2-DeXFrsw77m68daoCWSOKM2" False) (C1 (MetaCons "AssessmentMetadata" PrefixI True) (S1 (MetaSel (Just "assessmentTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "assessmentQuestions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Question])))