on 4/26/2014 9:21 AM
When you want to set a date literal in F# (or C#) you create a new DateTime instance: let today = DateTime(2014,26,4) If you’re rocking VB.Net you get date literals which are checked at design & compile time: Dim d = #2014/04/26# I thought it’d be nice to add design and compile time checked date literals to F#, & throw in code completion for good measure. Enter F# Type Providers. No need to open millions of lines of compiler code, instead simply implement a class to provide the types & voilà: let[...]
>> Read the full article on trelford.com
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