codeworld
codeworld copied to clipboard
Educational computer programming environment using Haskell
**Program:** https://code.world/haskell#P_WCHjO_Xen5tGUmr9tXSow **Message:** program.hs:7:10-13: error: Variable not in scope: path :: [(Integer, Integer)] -> Picture
**Program:** https://code.world/haskell#PrrDoZkX8T_a3E9x0rXVydQ **Comment:** Variable `path` not in scope **Message:** program.hs:5:12-15: error: Variable not in scope: path :: [(Integer, Integer)] -> Picture
XSS
It seems normally code is run in a sandboxed iframe https://github.com/google/codeworld/issues/1193 but you can still get XSS via a link. https://code.world/doc.html?path=data:text/html,%3Cimg%20src%20onerror=%22alert(window.origin)%22%3E%3C/img%3E https://code.world/gallery.html?path=data:text/html,%7B%22items%22:%5B%7B%22name%22:%22Click%20me%22,%22url%22:%22javascript:alert(window.origin)%22%7D%5D%7D (Needs click but no embed protection) Im not...
**Program:** https://code.world/haskell#P8sz1slJilTozR7pbNgWeUA **Message:** program.hs:3:1-13: error: Could not find module ‘Dibujo’ Use -v to see a list of the files searched for.
**Program:** https://code.world/#Pg1Ly_ZzlpSpH8qh44jXDrQ **Message:** program.hs:2:1: error: parse error • If this line continues the previous definition, indent it. • Otherwise, are you missing a parenthesis on the previous line)?
**Program:** https://code.world/#P1B2M2Y8AsgTpgAmY7PhCfg **Message:** program.hs:1:1: error: The variable program is not defined in your code
**Program:** https://code.world/haskell#PLxgmKE2mCb9c4MMXe_UnNw **Message:** program.hs:154:12-15: error: Variable not in scope: path :: [(Double, Double)] -> Picture
**Program:** https://code.world/#P1B2M2Y8AsgTpgAmY7PhCfg **Message:** program.hs:1:1: error: The variable program is not defined in your code
**Shared Program**: https://code.world/haskell#PySpd_fhz7PMTpiViNhV1Fg **Description** I was trying to write a freeze tag game played by several players. Unfortunately only the movements of the player 0 actually propagate. Movements of player...
With GHC 8.6.5 this succeeds locally for me: ``` % cabal build all Up to date ```