codeworld
codeworld copied to clipboard
Educational computer programming environment using Haskell
**Program:** https://code.world/haskell#PAct0MbYhX1caMCHtmaprug **Message:** Prelude.head: empty list
**Program:** https://code.world/#P5cOvdtFmYUPGalj39P_Nng **Message:** program.hs:1:1: error: The variable program is not defined in your code
**Program:** https://code.world/haskell#PfJFVB8hc0GYsY6Bwb9Y3Yg **Message:** program.hs:25:1-18: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘colSwap’: colSwap blue = ...
**Program:** https://code.world/haskell#Py5hXKhhFnywuPSP_rPnY0A **Message:** program.hs:2:34-52: error: • Couldn't match type ‘[Char]’ with ‘IO ()’ Expected type: IO () Actual type: String • In the second argument of ‘()’, namely ‘show (circleArea...
**Program:** https://code.world/haskell#PiIMlFBWzEvxf9rdaJ2CELg **Message:** program.hs:(3,8)-(4,23): error: Unexpected do block in function application: do print (circleArea 12) You could write it with parentheses Or perhaps you meant to enable BlockArguments?
**Program:** https://code.world/haskell#P5oVFun2DhRjp5x0v_ATOfA **Message:** program.hs:47:44-52: error: • Couldn't match type ‘World -> World’ with ‘Picture’ Expected type: World -> Picture Actual type: Double -> World -> World • Probable cause: ‘stepWorld’...
**Program:** https://code.world/#PAhp1CtxoSKdeqFr8I_vsbg **Message:** program.hs:1:1-156: error: Parse error: An equation was expected here. Are you missing the equal sign?
**Program:** https://code.world/#PZz_9Rc3pHRj6_SBBpx1e8A **Comment:** hoi banana **Message:** program.hs:1:1-27: error: Parse error in pattern: https :// code . world / run . html
**Program:** https://code.world/#P1B2M2Y8AsgTpgAmY7PhCfg **Message:** program.hs:1:1: error: The variable program is not defined in your code