diff --git a/src/Ema/Example/Ex02_Basic.hs b/src/Ema/Example/Ex02_Basic.hs index f763430..8b5a36e 100644 --- a/src/Ema/Example/Ex02_Basic.hs +++ b/src/Ema/Example/Ex02_Basic.hs @@ -1,11 +1,6 @@ {-# LANGUAGE TypeApplications #-} --- | A very simple site with routes, but based on dynamically changing values --- --- The current time is computed in the server every second, and the resultant --- generated HTML is automatically updated on the browser. This is only a demo; --- usually we render HTML based on files on disk or something accessible outside --- of the browser. More advanced examples will demonstrate that. +-- | A very simple site with two routes, and HTML rendered using Blaze DSL module Ema.Example.Ex02_Basic where import Control.Concurrent (threadDelay)