where is fn and what is it?

Category: visual studio fsharp

Question

Map to new space on Wed, 12 Mar 2014 07:47:53


http://www.cs.man.ac.uk/~david/categories/programs/basic

i find a whole program in basic, still can not find the definition of fn

actually where is it?

i googled wiki said it is anonymous function

does it mean fn = fun ?


Early Bird


Replies

Mr. Tines on Wed, 12 Mar 2014 10:23:04


Yes, the ML `fn` is the F# `fun` (and the ML `fun` is an F# `let`).