Skip to content

A simple, fun, and interactive way to learn the F# language through testing.

License

Notifications You must be signed in to change notification settings

gwbrown/FSharpKoans

 
 

Repository files navigation

Functional Koans - F#

Inspired by EdgeCase's fantastic Ruby koans, the goal of the F# koans is to teach you F# through testing.

When you first run the koans, you'll be presented with a runtime error and a stack trace indicating where the error occured. Your goal is to make the error go away. As you fix each error, you should learn something about the F# language and functional programming in general.

Your journey towards F# enlightenment starts in the AboutAsserts.fs file. These koans will be very simple, so don't overthink them! As you progress through more koans, more and more F# syntax will be introduced which will allow you to solve more complicated problems and use more advanced techniques.

Getting Started

The F# Koans currently target Visual Studio 2010. The koans should also work with Visual Studio 2008, Visual Studio 11, comand line Mono, and monodevelop. Instructions for those configurations are still //TODO for the time being.

NOTE: nuget (http://nuget.codeplex.com/) is required to properly resolve dependencies.

Running the Koans

  1. Open the Visual Studio project, right click on the "FSharpKoans" project in the solution explorer and select "Set as StartUp Project".

  2. Turn off User-unhandled Exceptions. Go to Debug|Exceptions and uncheck the User-unhandled box from the Common Language Runtime Exceptions item.

You can now run the Koans by selecting Debug|Start Debugging (defaults to f5).

About

A simple, fun, and interactive way to learn the F# language through testing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • F# 100.0%