GithubHelp home page GithubHelp logo

neuroevolutus / fsharpkoans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrismarinos/fsharpkoans

0.0 2.0 0.0 455 KB

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

License: Other

F# 100.00%

fsharpkoans's Introduction

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.

Prerequisites

The F# Koans needs .Net Core 2.0 to be built and run, make sure that you have installed it before building the project.

Additionally, the project provides Visual Studio Code configuration for running. To be able to run F# projects in Visual Studio Code, the ionide plugin should be also installed.

Running the Koans from the command line (.Net Core)

  1. To build the Koans, run dotnet build command in the project root.

  2. To run the Koans, run dotnet run -p FSharpKoans/FSharpKoans.fsproj command in the project root or dotnet run in FSharpKoans project directory.

Running the Koans in Visual Studio Code

  1. Open the project directory in Visual Studio Code with Ionide-fharp plugin installed and press F5 to build and launch the Koans (require some time to build the project before launch).

Using dotnet-watch

You can also use dotnet-watch to have your changes reloaded automatically. To do so, navigate into FSharpKoans directory and run dotnet watch run. Now, after you change the project code, it will be automatically reloaded and tests rerun.

fsharpkoans's People

Contributors

abedra avatar chrismarinos avatar dsyme avatar eugene-g avatar harold avatar islandsvinur avatar marcusoftnet avatar nataren avatar neuroevolutus avatar ofirgeller avatar panesofglass avatar patrickmcdonald avatar readysetmark avatar richkeenan avatar scitesy avatar skalinets avatar someonetoignore avatar spaasis avatar sunnjek avatar tcshao avatar tmpreston avatar vincelee888 avatar voronoipotato avatar xdadaveshaw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.