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:
parent
617e8bd3c6
commit
d8e14ab63a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user