filed in Uncategorized on Feb.22, 2010
I have recently become interested in a new programming language called F#.
It is a functional programming language which seems to have taken a few queues from OCaml, with some .NET framework jazz added in for good measure. It is a language developed by the people at Microsoft Research.
In C# to include your own custom namespace or class you use the “using” keyword followed by your namespace or class name. In F# there is a keyword for that as well, “open”, where you can specify a namespace or a module. Sounds easy enough. Not so fast. It appears that the order of your files makes a difference. So if you are getting a “The namespace or module ‘[module|namespace]‘ is not defined’ try moving that file up in the solution explorer.
Moral of the story -> When in doubt change the order of your files………………about.