6 ms·
They do support mutual recursion, but you have to make it explicit. https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/functions/recursive-func
by kerkeslager 2y ago
They do support mutual recursion, but you have to make it explicit.
https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/functions/recursive-functions-the-rec-keyword#mutually-recursive-functions https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
- mananaysiempre 2y agoSame as the rest of the ML family then.
- bunderbunder 2y agoSame as the rest of the functional languages, even.
- mananaysiempre 2y agoMy first functional language was Haskell, which essentially only has a letrec, so afterwards I’ve always viewed everybody else’s approach as a bit peculiar :) Fair point that it’s the Lisp way too.
- mjaniczek 2y agoNah, Elm doesn't need the rec keyword and could be argued to be a ML descendant