[Haskell-beginners] Understanding syntax problems

Stephen Tetley stephen.tetley at gmail.com
Tue Jun 8 13:52:20 EDT 2010


This is a typo - caused in the translation to HTML:

type BellMachine = Event () -> Event ()

A Bell Machine is a function from Event to Event.

Representing state machines as functions from their input to their
output is quite a common pattern in Haskell.

Best wishes


More information about the Beginners mailing list