Example autorun active snippets

As of March 2020, School of Haskell has been switched to read-only mode.

Here is an example active snippet which will auto-run when the page loads. The code is written as

``` haskell active autorun
main = print "Hello, World!"

And will result in the following:

main = print "Hello, World!"

Note that the second snippet will not automatically run:

main = print "Hello, World!"
comments powered by Disqus