Code.World

Using the animation-focused Code.World platform.

Code.World is Haskell focused on animations, similar to Racket’s big-bang. You can use it for basic work as well.

Make sure you have put haskell in the URL or you will not be working with real Haskell.

Main Method

In Code.World, there is no “interactive pane”, so you can’t just type commands like at ghci>. Everything in the document runs, and the output you see is whatever that program prints. Example:

main = do putStrLn "Main Example"
          putStrLn (show 50)

Troubleshooting

If you are not using Haskell mode, the screen looks similar but a simple program like this:

main = do putStrLn "Confusion"

causes errors like this:

Solve this problem by using Haskell mode at Code.World.

Advanced

Last modified August 18, 2023: 2022-2023 End State (7352e87)