I see no type-safe way to do this elegantly in .NET or in F#.

I at least chose the redundant way, where I have a fairly large F# library which contains lots of useful extensions to the F# modules (among them, Option.append), and I added a reference to this library in all my (new) F# projects.

Yes, you need to write lots of code, and sometimes copy-paste code and then edit, but you do it only once.

By on 10/27/2011 11:05 AM ()

Hi Ramon, I invite you to contribute your extensions to FSharpx.

It's obvious by now that the F# std lib, even with PowerPack, is simply too basic for many applications. As a community, we need to stop writing ad-hoc snippets and pool our efforts to create a true quality base library we can all agree upon. Otherwise F# will never really take off.

Cheers,
Mauricio

By on 10/27/2011 3:26 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