
5 Nov
2012
5 Nov
'12
9:12 a.m.
Hey, If I double use an arrow (in this example a wire from netwire) like this: objectWire :: WireP [Collision] Object objectWire = (Object <$> integral_ initPos) . speedWire <*> speedWire will it be double evaluated, or can the compiler optimize this to evaluate speedWire only once? Thanks! Nathan