Hi tema,

In F# let bindings are automatically static so you can simply create a recored and create a single instance of it.

1
2
3
type MyRecord = { MyField: string }

let mySingleInstance = { MyField = "My field's value"; }
By on 6/13/2008 7:41 AM ()
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