Tuesday, 18 August 2009

F#: Problem with modules

I am learning f# and i'm really a newbie!

You could encounter this problem.

You write a function in a module and open this module in the main file.

Well the module should appear before the main file in the solution explorer.

To change the order of the file you can right-click the file of interest and use 'move-up' or 'move-down' options.

I read about the importance of order here http://cs.hubfs.net/forums/thread/10648.aspx

I hope this might help other newbies.