DealCard is not a function, it's a value.

You want

let DealCard() = ...

and then call it via

... DealCard() ...

That is, add empty parens.

By on 8/2/2010 12:58 PM ()

Ugh. I feel like a newby all over again. Thanks that would solve it for sure. Perhaps a related question: How come for calling "functions/methods"(not sure on the terminology in f#), in the .NET framework (The Random constructor for instance), it's ok for me to pass arguments in paren's like c#? I thought this was technically passing a tuple (which wouldn't fit the method signature).

By on 8/2/2010 1:03 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper