Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.506 kB
module FirstPage where
import Text.Html
-- FIRST: Try toggling the Edit/Run button above this editor box back and forth.
-- SECOND: Try editing some text inside quotes, and hit Run.
-- THIRD: If you are brave, try adding another paragraph, or an ordList.
-- FOURTH: Go back to the Home page (link at top right) and start the tutorial.
page = thehtml <<
[ h1 << "Hi!"
, paragraph << "This page was rendered from Haskell."
, unordList [ bold << "one", italics << "two", tt << "three"]
]
Jump to Line
Something went wrong with that request. Please try again.