From d8e14ab63a9b25f44591c38c929b04b957f1546d Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Sat, 22 May 2021 13:55:43 -0400 Subject: [PATCH] Update Ex02_Basic.hs --- src/Ema/Example/Ex02_Basic.hs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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)