Language-ext: Just curious why ForEach is not implemented

Created on 13 Jul 2016  路  4Comments  路  Source: louthy/language-ext

Hi,
I am reading Enrico Buonanno's Functional Programming in C# ( MEAP ), and he references Language-Ext as a more production quality implementation while his LaYumba is more of a teaching implementation.
While LaYumba implements ForEach, I was not able to find Language-Ext's implementation. Is there a reason for this? Maybe, there is a alternative functional way to achive this in Language-Ext.
Thanks,

examples / documentation

Most helpful comment

Hi @khtan, no problem, it's call Iter for iteration in lang-ext.

All 4 comments

Sorry, the above is not an issue but I just had a question. Thanks,

Hi @khtan, no problem, it's call Iter for iteration in lang-ext.

Thanks. In case you are interested, a comment on the Iter like // also known as ForEach
would help beginners like me find the function more quickly. Great work!

ForEach will be trasformed fo "foreach (x in y )" by the VS IDE all the time ,I think call it Iter is a good idea

Was this page helpful?
0 / 5 - 0 ratings