[Haskell-cafe] I'm trying to design a GUI library -- a design question

Daniel Trstenjak daniel.trstenjak at gmail.com
Mon Mar 3 08:10:48 UTC 2014


> *Main> let c = someCounter 0
> *Main> draw c
> 0
> *Main> let c' = increase someCounter 
> *Main> draw c'
> 1

Sorry, the example should have been:

*Main> let c = someCounter 0
*Main> draw c
0
*Main> let c' = increase c 
*Main> draw c'
1


Greetings,
Daniel


More information about the Haskell-Cafe mailing list