
16 Sep
2012
16 Sep
'12
3:20 a.m.
Ertugrul Söylemez
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.