Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

F# Question

Name: Anonymous 2013-07-29 2:38

From Microsoft's `tutorial' project that comes with VS:
/// Compute the highest-common-factor of two integers
let rec hcf a b =                       // notice: 2 parameters separated by spaces
    if a=0 then b
    elif a<b then hcf a (b-a)           // notice: 2 arguments separated by spaces
    else hcf (a-b) b
    // note: function arguments are usually space separated


Can this be taken to mean that function arguments are separated by spaces? Feels like I'm missing something.

Name: Anonymous 2013-07-29 4:03

>>6
I guess it works because Microsoft employs better programmers than you.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List