For more background information, see:
- The Koka book for a specification of the Koka language and a primer on algebraic effects.
- The library documentation.
- The Koka research page and the slides of a talk presented Lang.Next (April 2012).
- The article Algebraic Effects for Functional Programming [3] about the algebraic effects in Koka.
At this point there are no binary releases of Koka and you need to build the compiler yourself. Fortunately, Koka has few dependencies and builds without problems on most common platforms, ⪚ Windows, MacOSX, and Unix.
The following programs are required to build Koka:
- The Haskell platform (version 7.4 or later).
- The NodeJS runtime (version 4.2 LTS or later).
- Some version of Git for version control.
All these programs are very easy to install on most platforms. Now we can build Koka itself:
-
First clone the Koka sources with algebraic effects support:
> git clone https://github.com/koka-lang/koka.git