1
1
mirror of https://github.com/srid/ema.git synced 2024-12-01 23:23:42 +03:00

Update Ex02_Basic.hs

This commit is contained in:
Sridhar Ratnakumar 2021-05-22 13:55:43 -04:00 committed by GitHub
parent 617e8bd3c6
commit d8e14ab63a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)