[nim-dev] Re: foldl/foldr in sequtils

  • From: OderWat <nimforum@xxxxxxxxxx>
  • To: nim-dev@xxxxxxxxxxxxx
  • Date: Wed, 4 Nov 2015 23:22:33 +0000

I just care about a/any version of foldl() which can transform the type of
a/the seq to something else. Just because I needed it and wondered why foldl()
is not foldl() as I expected it :)

Using let is cool of course and should be used to improve the original foldl()
asap.

I currently don't mind having a template as it is better than having nothing!
Theoretical better designs are nice but what about having something to use
now(tm) and for real(tm)!

BTW: Is this how you take a break :-P ... NimLazy is pretty cool btw!

Other related posts: