Skip to content

Instantly share code, notes, and snippets.

@davidchase
Last active January 6, 2020 20:48
Show Gist options
  • Select an option

  • Save davidchase/4b7e0e2f1159616979919dd1dd97c876 to your computer and use it in GitHub Desktop.

Select an option

Save davidchase/4b7e0e2f1159616979919dd1dd97c876 to your computer and use it in GitHub Desktop.
module Main where
import Prelude
import Control.Monad.Eff (Eff)
import Data.Foldable (fold)
import TryPureScript (DOM, h1, h2, p, text, list, indent, link, render, code)
main :: Eff (dom :: DOM) Unit
main =
render $ fold
[ h1 (text "Try PureScript!")
, p (text "Try out the examples below, or create your own!")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment