WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell.ContentsIndex
WASH.CGI.InputHandle
Description
Internal use only. Provides access to class InputHandle and thus enables the construction new instances of this class, which requires knowledge about programming of validations.
Documentation
class HasValue i where
Methods
value :: i a VALID -> a
extract a value from various kinds of input handles
show/hide Instances
class InputHandle h where
Methods
validate :: h INVALID -> Either [ValidationError] (h VALID)
transforms an unvalidated input handle into either an error or a valid handle
isBound :: h INVALID -> Bool
ihNames :: h INVALID -> [String]
show/hide Instances
Produced by Haddock version 0.8