BSD-3-Clause licensed by Tony Day
This version can be pinned in stack with:web-rep-0.12.3.0@sha256:30faf415f25bed3fdb122b02a92feb214258c73a9c886172f7d686b640389eda,3130
Module documentation for 0.12.3.0
Depends on 22 packages
(full list with versions):
async,
base,
bifunctors,
box,
box-socket,
bytestring,
flatparse,
markup-parse,
mtl,
optics-core,
optics-extra,
optparse-applicative,
profunctors,
scotty,
string-interpolate,
text,
transformers,
unordered-containers,
wai-middleware-static,
wai-websockets,
web-rep,
websockets Table of Contents
- web-rep
- library reference
- Development
web-rep
Various functions and representations for a web page.
The best way to understand functionality is via running the example app:
cabal install
page-example --apptype SharedTest
… and then tune in to:
http://localhost:9160/
library reference
Development
(setq haskell-process-args-cabal-repl '("web-rep:exe:web-rep-example"))
:r
:set -Wno-type-defaults
:set -Wno-name-shadowing
:set -XOverloadedStrings
:set -XOverloadedLabels
:set -XDataKinds
import Prelude
import Box
import Web.Rep
import Optics.Core
import FlatParse.Basic
import MarkupParse
putStrLn "ok"
Ok, 11 modules loaded.
ghci
ok
0.12.1
- Changed the order of Page elements, so that inline css over-rides libraries.
- Added cssColorScheme to API
0.12
- markupInput replaces inputToHtml as per markup-parse
- ToByteString introduced
- upgrade to box-socket-0.5
0.11
- Removed clay, lucid as dependencies
- refactored to markup-parse as markup representation.
0.10.2
0.8.0
- Removed numhask dependencies