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.

Versions [faq],,,,, 0.2.3, 0.2.4, 0.2.5, 0.3, 0.3.1, 0.4.0
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 Sat May 19 16:18:03 UTC 2018
Uploaded by ChrisSmith at Tue Aug 30 15:19:20 UTC 2016
Distributions NixOS:0.4.0
Downloads 3875 total (149 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-08-30 [all 1 reports]




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

For package maintainers and hackage trustees