So this part of how I start learning a language or new things with languages. In this case learning F#.

I'll need to come up with some a layout for the site pretty soon. It's an ASP.NET MVC 4 site. I'm considering ripping the C# part of the site out and see if I can replace it with F#. Might be interesting.

So if you are wondering what I'm doing late at night other than studying for work I'm also studying F#!!

Not Only Object Oriented

D3.js is pretty slick. Issue is figuring out how to get it to work with ASP.NET MVC and F#!. Here are two samples. Mostly borrowed code.
Maze Test from bl.ocks.org.
LineChart Test from orbifold.net that I've converted to use F#. He uses an anonymous object while I'm using a tuple on the ajax call. (Thanks Fiddler!)

The below is using a seq to generate the aerobic points we used at DPD. Don't try it yourself!

Distance StartTime EndTime Points
1 0 6.4 6
1 6.41 8 5
1 8.01 10 4
1 10.01 12 3
1 12.01 15 2
1.5 0 10 9.5
1.5 10.01 12 8
1.5 12.01 15 6.5
1.5 15.01 18 5
1.5 18.01 22.3 3.5
2 0 13.2 13
2 13.21 16 11
2 16.01 20 9
2 20.01 24 7
2 24.01 30 5
2.5 0 16.4 16.5
2.5 16.41 20 14
2.5 20.01 25 11.5
2.5 25.01 30 9
2.5 30.01 37.3 6.5
3 0 20 20
3 20.01 24 17
3 24.01 30 14
3 30.01 36 11
3 36.01 45 8
3.5 0 23.2 23.5
3.5 23.21 28 20
3.5 28.01 35 16.5
3.5 35.01 42 13
3.5 42.01 52.3 9.5
4 0 26.4 27
4 26.41 32 23
4 32.01 40 19
4 40.01 48 15
4 48.01 60 11
5 0 33.2 34
5 33.21 40 29
5 40.01 50 24
5 50.01 60 19
5 60.01 75 14

Baby steps!