3 ms·
The work was already done for them, as LINQ is just do-notation from Haskell.
by turboponyy 3y ago
The work was already done for them, as LINQ is just do-notation from Haskell.
- DaiPlusPlus 3y agoNo, Linq is *not* in any way like Haskell's `do`. Linq is a (reasonably) compromised, non-referentially-transparent, implementation of a restricted form of relational-algebra with side-effects permitted, so I'm not comfortable describing Linq as "monadic". Whereas Haskell's `do` is strictly monadic.