I am sorry to report that F# seems to be a rubbish language. The order functions are declared is important... so you can't recurse with a function declared after the one you're writing.

So if they call each other, you're totally fucked now.

y tho

@piecritic are there forward declarations? Maybe they intended for C style, "declare everything first" kind of programming?

@reireirei it's a functional programming language, so that is very much not it. Eventually found a way to declare "mutually recursive" functions with two more keywords, `rec` and `and`.

This is quite a silly language.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!