On Mon, Aug 13, 2012 at 9:06 PM, KC <[email protected]> wrote: > "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? > Haskell tuples don't work that way, and if they did they would be no better than lists. You may be thinking of Python tuples, which are more like Haskell's lists (whereas Python's lists are somewhat more like Haskell's arrays).
-- brandon s allbery [email protected] wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
