[Haskell-beginners] Understanding syntax problems

Daniel Fischer daniel.is.fischer at web.de
Tue Jun 8 14:00:50 EDT 2010


On Tuesday 08 June 2010 17:14:19, Nathan Huesken wrote:
> Hi,
>
> Reading this:
> http://netsuperbrain.com/blog/posts/introducing-reactive-events/
>
> I stumble upon this:
>
> type BellMachine = Event () -> Event ()

Html escaping hiccup (several more of that on the page).

It should be

type BellMachine = Event () -> Event ()

so BellMachine is an alias for the type of functions mapping an Event () to 
an Event ().

>
> Google did not tell me, what this means.
> I understand
>
> type BellMachine = Event()
>
> but the rest is completely strange to me.
>
> What does it mean or where can I find out?
>
> Thanks!
> Nathan


More information about the Beginners mailing list