codeworld-api: Graphics library for CodeWorld

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]


This module provides the drawing code for CodeWorld. It is heavily inspired by Gloss, but modified for consistency and pedagogical reasons.

It comes with two backends. When compiled with GHCJS, it uses the JavaScript FFI to run on When compiled with GHC, it uses the blank-canvas package to provide a webpage consisting of just a panel locally. This way, the same program that runs on the CodeWorld server can also be run locally.


Versions,,,,,, 0.2.3, 0.2.4, 0.2.5, 0.3, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.8.1
Change log None available
Dependencies base (<5), blank-canvas, ghcjs-base, ghcjs-dom, mtl, random, text, time [details]
License LicenseRef-Apache
Copyright (c) 2016, The CodeWorld Authors
Author The CodeWorld Authors
Maintainer Chris Smith <>
Uploaded by ChrisSmith at 2016-08-11T07:03:27Z




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees