[Haskell-beginners] Understanding syntax problems

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


On Tuesday 08 June 2010 19:58:32, Nathan Huesken wrote:
> Well, that makes complete sense.
> Just out of curiosity, is it my browser or a problem with the site?

Not your browser:

type</span> BellMachine <span style="color: #339933; font-weight: 
bold;">=</span> Event <span style="color: green;">&#40;</span><span 
style="color: green;">&#41;</span> <span style="color: #339933; font-
weight: bold;">-</span>&amp;gt; Event <span style="color: 
green;">&#40;</span><span style="color: green;">&#41;

See the &amp;gt; ?

>
> Regards,
> Nathan
>
> On Tue, 8 Jun 2010 18:52:20 +0100
>
> Stephen Tetley <stephen.tetley at gmail.com> wrote:
> > Hi
> >
> > 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
> >
> > Stephen
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners



More information about the Beginners mailing list