codeworld
codeworld copied to clipboard
Educational computer programming environment using Haskell
**Program:** https://code.world/haskell#PBmh5IOClnlsg7K7H8VDU7Q **Comment:** As a suggestion: it would be helpful if clicking "Not helpful" gives you help about the error message :) **Message:** program.hs:1:1: error: The IO action ‘main’ is...
**Program:** https://code.world/#P1B2M2Y8AsgTpgAmY7PhCfg **Message:** program.hs:1:1: error: The variable program is not defined in your code
**Program:** https://code.world/#PhvNXDF6GIEo70umUiorSUA **Comment:** What is simulation now? **Message:** program.hs:1:9-20: error: Variable not in scope: simulationOf :: (p0 -> (Number, Number, Number, Number, Number), ((Number, Number, Number, Number, Number), Number) ->...
**Program:** https://code.world/haskell#PZDemkYLG_8s7LdJP9wxJGQ **Message:** program.hs:2:1-34: error: Could not find module ‘Data.List.Utils’ Perhaps you meant Data.List.Util (needs flag -package-key hgeometry-combinatorial-0.12.0.0) Data.List.Optics (from optics-core-0.3.0.1) Data.BitUtil Use -v to see a list of the...
**Program:** https://code.world/#P1B2M2Y8AsgTpgAmY7PhCfg **Message:** program.hs:1:1: error: The variable program is not defined in your code
**Program:** https://code.world/#PXWY5iLS2wOHVnXAshknW1w **Comment:** how do you change the color of it? **Message:** program.hs:1:1-4: error: Parse error: An equation was expected here. Are you missing the equal sign?
Gitpod and the almost identical clone, GitHub codespaces, give a rather effective IDE for codeworld Haskell mode. You can try out mine here: https://github.com/3noch/haskell-gitpod-template/tree/codeworld (The output is automatically updated with...
These would be helpful for my students as they are using the Haskell variant and Haskell IDE will show inline documentation.
The `codeworld-api` package plus the amazing Haskell IDE in VSCode means there is a fantastic local development story for CodeWorld. But I'd still like the ability to share my creations...
It seems like such a shame that blocks mode doesn't let you *run* your programs. Even if it is buggy, it is a promising direction!