Another F# sunday

So, another weekend, another F# excercise. This time I decided have some fun with Cairo inside Gtk# and a port of the old Knockout example from C# seemed like a prefect idea. Here’s what I got:

Compiled executable here, code here. Now, what I’ve done was pretty much a simple “translation” to get it running but I would love to make the code really functional. So, go headed and comment on what I could change to do it.


Another embarrassing udpate: fixed indentation


Update 2: indentation is broken by WordPress editor. Code replaced with a link.

2 Responses to “Another F# sunday”

  1. Christian Hergert Says:

    Looks cool. I need to get around to playing with f# soon, but I’ve been stuck in erlang land lately.

  2. piotr Says:

    Thanks Christian. Yeah, F# looks cool and for me (strong engineering background) feels slightly more natural then object oriented languages.
    BTW, some time ago I had a good look at your “Crumbs” widget to understand how things work in Gtk#. :-)

Leave a Reply