[Haskell] Tuples & Lists
KC
kc1956 at gmail.com
Tue Aug 14 03:06:36 CEST 2012
"This part of the conditional can be written more succinctly as:
all (== test_lcv) [init_lcv, update_lcv, update_lcv']"
Wouldn't this be be better as tuple avoiding list overhead or does ghc
optimize it out?
If it could be done as a tuple.
all (== test_lcv) (init_lcv, update_lcv, update_lcv')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell/attachments/20120813/d35028ed/attachment.htm>
More information about the Haskell
mailing list