
3 Oct
2012
3 Oct
'12
4:11 a.m.
Hey, I noticed than when using this code: (-1.0) . isKeyPressed leftKeyCode <|> 0.0 instead of (pure (-1.0)) . isKeyPressed leftKeyCode <|> (pure 0.0) than "fromRational" gets called. I am wondering, if this is not pretty inefficient. I am noticing this, because when I compile a netwire test program with haste, the first code segment fails during runtime because of the primOp newByteArray#. Regards, Nathan