fudgets-0.18.3.1: The Fudgets Library
Safe HaskellNone
LanguageHaskell98

DialogueIO

Description

Haskell 1.2 Dialogue I/O

Synopsis

Documentation

data Request Source #

Instances

Instances details
Read Request Source # 
Instance details

Defined in P_IO_data

Show Request Source # 
Instance details

Defined in P_IO_data

data SigAct Source #

Instances

Instances details
Read SigAct Source # 
Instance details

Defined in P_IO_data

Show SigAct Source # 
Instance details

Defined in P_IO_data

dialogueToIO :: Dialogue -> IO () Source #

Included just to illustrate that it is possible to convert a Dialogue IO function to a monadic IO function. The implementation relies on getChanContents to construct the lazy list of responses needed by the dialogue IO function.