[Haskell-beginners] FRP

Ertugrul Söylemez es at ertes.de
Sun Sep 16 09:20:55 CEST 2012


Ertugrul Söylemez <es at ertes.de> wrote:

> You want to display time while pressed and "Press space" while not:
>
>     myLabel = fmap show time . keyDown Space <|> "no"

Typo:

    myLabel = fmap show time . keyDown Space <|> "Press space"

Of course. =)


Greets,
Ertugrul

-- 
Not to be or to be and (not to be or to be and (not to be or to be and
(not to be or to be and ... that is the list monad.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120916/636b78e0/attachment.pgp>


More information about the Beginners mailing list