quickterm-0.2.4.0: An interface for describing and executing terminal applications

Safe HaskellNone
LanguageHaskell2010

System.Console.Quickterm.CanMarshall

Synopsis

Documentation

class CanMarshall a where Source #

Handles marshaling from a cmd-line argument to a Haskell data type.

Minimal complete definition

defaultM, helpU, deserializer, asInput

Methods

defaultM :: a Source #

A default value for the generic atomic operation param.

helpU :: a -> Int -> String Source #

A help description for the generic atomic operation param.

deserializer :: Deserializer a Source #

A deserializer declaration for the generic atomic operation param.

asInput :: a -> String Source #

A conversion of a value to the predicted input.