Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 506 Bytes
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"]
]
Something went wrong with that request. Please try again.