Re:I don't need your query language
by turboponyy on Saturday June 17, 2023 @07:32AM
(#36369289)
The work was already done for them, as LINQ is just do-notation from Haskell.
[ Parent
| on HN ]
Re:I don't need your query language
by DaiPlusPlus on Saturday June 17, 2023 @12:24PM
(#36371642)
No, 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.