F# in 20 Minutes – Part I

Edit: If you are interested in learning F#, let me take the opportunity to provide a shameless plug for my book Programming F#. Edit: Updated for the September CTP. Edit: While I certainly encourage you to read my blog, there is a great video we did for PDC titled An Introduction to Microsoft F# at https://channel9.msdn.com/pdc2008/TL11/…

66

Programming F# – Official Cover

Edit 8/19: You might notice, the cover is no longer a jellyfish. While I know this is a slight disapointment for some – including myself – trust me when I say I have a plan to remedy this. Stay tuned!  So as it turns out my petition for a kickass cover was ultimately unsuccessful. But…

22

Petition for Programming F#’s Book Cover!

You might have noticed my blogging has slowed down to a lull; never fear, this is just because I have been working  it is been because I have been hard at work writing I am working full steam on finishing up Programming F#. But I cannot finish this book without your help, read on. The…

21

F# No Longer Vaporware

REDMOND, WA – Sadly, after nearly four years of stringing developers along with Microsoft’s longest touted non-product, F# was accidentally checked into the Visual Studio 2010 source tree Microsoft sources report. This mistake killed what would have been one of Microsoft’s most popular vaporware project by giving it an actual release date. The checkin was…

20

F# in 20 Minutes – Part II

Now that we have covered the basics, in minutes 8 – 14 we will cover the foundational concepts and types in F#. By the end of Part II you should be able to read F# code reasonably well. Immutability You may have noticed that I’ve been using the term ‘value’ to refer to identifiers rather…

16

Language Oriented Programming in F#

Last Tuesday I gave a talk to the .NET Developers Association entitled Language Oriented Programming in F#. You can find a video of the presentation here*. This essay is the written version of that presentation, which unfortunately doesn’t translate to the web so well. In fact, I’m going to go ahead and apologize now for…

15

Due out Next Year – Programming F# by Chris Smith

I’d like to announce that for the past few months I’ve been secretly working on a book for O’Reilly titled Programming F#. My aim is to provide the one-stop-shop for learning the breadth of the F# language. A special thanks goes out to Nate LaMartina, a friend of mine at Mythic Entertainment for putting together…

14

F# Zen – ROT13

Below is a primitive implementation of ROT13 / Ceasar Cipher in F#. In short it is a simple encryption algorithm that works by ‘shifting’ each letter 13 places. So an ‘a’ becomes an ‘n’, a ‘b’ becomes an ‘o’, and so on. To decrypt the text you simply move 13 places in reverse. We can…

12

Idiomatic F# – Functional vs. Imperative

Our story begins with this guy, Stuart Bowers, sipping functional programming cool aid out of a kickass mug from Cafe Press. Stuart is a developer on Amalga and full-time F# developer at Microsoft. The world is at a loss because this man does not blog… Anyways, he has been reviewing chapters some chapters of my…

11

F# and the PFX Round 1

I’m currently working on a chapter for Programming F# titled Asynchronous and Parallel Programming which should turn out pretty well. Anyways, I have an example that was too awesome not to blog. In this post I’ll show how to use the Parallel Extensions to the .NET Framework for finding the shortest path between two nodes…

11