
15 Apr
2015
15 Apr
'15
3:42 p.m.
On Wed, Apr 15, 2015 at 3:31 PM, martin
Hlint suggested
Found: bench x = (timeIt . print) x Why not: bench = (timeIt . print)
hlint is kinda dumb sometimes, like any heuristic analyzer. In particular, it recognizes patterns of code, but knows nothing about types. Or, in this case, the monomorphism restriction, which is likely messing with the inferred type (since the inferred type is correct when it has a parameter). -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net