codeworld-api: Graphics library for CodeWorld

[ library, unclassified ] [ Propose Tags ]

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.




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,, 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
Dependencies base (>=4.8 && <4.11), 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 <>
Revised Revision 2 made by HerbertValerioRiedel at 2018-05-19T16:18:03Z
Uploaded by ChrisSmith at 2016-08-30T15:19:20Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 10556 total (64 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-30 [all 1 reports]