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.



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.


Versions0.1.0.1,,,,, 0.2.3, 0.2.4, 0.2.5, 0.3, 0.3, 0.3.1, 0.4.0
Change logNone available
Dependenciesbase (>=4.9 && <5), blank-canvas (==0.6.*), cereal (>=0.5.4 && <0.6), cereal-text (>=0.1.0 && <0.2), codeworld-game-api, codeworld-prediction, containers (>=0.5.7 && <0.7), ghc-prim (>=0.3.1 && <0.6), ghcjs-base, ghcjs-dom (==0.8.*), ghcjs-prim, hashable (>=1.2.4 && <1.3), mtl (>=2.2.1 && <2.3), random (==1.1.*), random-shuffle (>=0.0.4 && <0.1), text (>=1.2.2 && <1.3), time (>=1.6.0 && <1.9), transformers [details]
Copyright(c) 2019, The CodeWorld Authors
AuthorThe CodeWorld Authors
MaintainerChris Smith <>
Bug tracker
UploadedSun Feb 24 04:43:16 UTC 2019 by ChrisSmith




Maintainers' corner

For package maintainers and hackage trustees