Cupid

Cupid documentation

Cupid is a small Haskell interpreter, written in C and descended from Hugs. It implements Haskell 2010 with documented deviations and a fixed set of extensions, the language reference says which, its libraries are a subset of GHC's base, and it evaluates expressions at an interactive prompt or runs a program's main from a script. It's also small enough to read, and these pages are for both kinds of reader.

Start here

New to Cupid? Install a release, then work through Getting started with Cupid: it evaluates a few expressions, loads a module and runs a program with cupid. To build from source instead, see Build Cupid on Linux and macOS or Build Cupid on Windows.

Using Cupid

Guides to a particular task:

Inside Cupid

A guided tour of the source. Begin with Reading Cupid in a day, which gives a route through the main stages for a first day, and the order for the whole tour after that.

Reference

Running it:

The language and libraries:

Background:

Contributing

Manual page

cupid.1.in is the source of the cupid(1) manual page, which meson fills in with the install paths and installs under share/man.