1
1
mirror of https://github.com/srid/ema.git synced 2024-11-30 03:03:13 +03:00
ema/docs/start.md
Sridhar Ratnakumar 6e7c9f2dde doc: misc...
2021-04-24 21:42:17 -04:00

488 B

Getting Started

Ema is heavily a work in progress. Version 1.0 release is expected soon. If you wish to adopt it early for your projects, start from the unofficial template repo srid/orgself.

The simplest Ema app looks like this:

main :: IO ()
main = do
  let name :: Text = "Ema"
  runEmaPure $ \_
    encodeUtf8 $ "<b>Hello</b>, from " <> name

{.last} [Next]{.next}, we will develop a basic site using Ema.