Thursday, January 01, 2009

F# CTP and Silverlight 2 redux

Following up from here.

Units of measure are indeed useful, especially once one has twigged that the syntax needed to generalize over the units involved is like

and that you need to go the F# built-in math functions to have ones that are themselves so generalised.

So, here is the mostly essentially finished example applet (still needs to compute and draw the moon phases) with source bundled into the .xap file

No comments :