[Haskell-beginners] Understanding syntax problems

aditya siram aditya.siram at gmail.com
Tue Jun 8 14:03:59 EDT 2010


I've been doing way too much HTML - I automatically translated ~>
in my head. Ugh.

-deech

On 6/8/10, Daniel Fischer <daniel.is.fischer at web.de> wrote:
> 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 () -&gt; 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
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list