/fsharp-tutorials

fsharp tutorials: *nix, docker, vim, mono, paket, oh my!

Primary LanguageF#MIT LicenseMIT

fsharp-tutorials

In this tutorial, we will show a unique approach to F# development using unix tools while avoiding msbuild project management. We assume the reader is comfortable with bash and vim, and has some familiarity with F#.

All examples are done within dfvim, an F# development environment based on mono and vim pre-built and run inside a docker container. Thus the only requirement for following this tutorial is a (non-Windows) variant of docker. For example, install Docker for Mac if you are on OSX, or Docker-CE for Debian if you are on Debian.

Some topics covered in this tutorial

  • Using dfvim to edit F# scripts using the vim-fsharp vim plugin
  • Using fsharpi, fsharpc, and mono
  • Creating executable applications from multi-file .fsx scripts
  • Using Paket to manage NuGet dependencies
  • Using Suave to create web services
  • Using Docker to create deployable web applications

Sections are organized under folders in this repository, building progressively starting with 001-development-environment. Each folder has its own README and all source files referenced in the content.