web-rep: representations of a web page

[ bsd3, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

An applicative-based, shared-data representation of a web page.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.2, 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.10.2.0, 0.11.0.0, 0.12.0.0, 0.12.1.0, 0.12.2.0, 0.12.3.0
Change log ChangeLog.md
Dependencies async (>=2.2.4 && <2.3), base (>=4.7 && <5), bifunctors (>=5.5.11 && <5.7), box (>=0.9 && <0.10), box-socket (>=0.5 && <0.6), bytestring (>=0.11.3 && <0.13), flatparse (>=0.3.5 && <0.6), markup-parse (>=0.1.0.1 && <0.2), mtl (>=2.2.2 && <2.4), optics-core (>=0.4 && <0.5), optics-extra (>=0.4 && <0.5), optparse-applicative (>=0.17 && <0.19), profunctors (>=5.6.2 && <5.7), scotty (>=0.11.5 && <0.23), string-interpolate (>=0.3 && <0.4), text (>=1.2 && <2.2), transformers (>=0.5.6 && <0.6.2), unordered-containers (>=0.2 && <0.3), wai-middleware-static (>=0.9 && <0.10), wai-websockets (>=3.0.1.2 && <3.1), web-rep, websockets (>=0.12 && <0.14) [details]
Tested with ghc ==9.10.1, ghc ==9.6.5, ghc ==9.8.2
License BSD-3-Clause
Copyright Tony Day (c) 2015
Author Tony Day
Maintainer Tony Day <tonyday567@gmail.com>
Category web
Home page https://github.com/tonyday567/numhask#readme
Bug tracker https://github.com/tonyday567/web-page/issues
Source repo head: git clone https://github.com/tonyday567/web-rep
Uploaded by tonyday567 at 2024-10-14T22:46:52Z
Distributions LTSHaskell:0.12.3.0, NixOS:0.12.3.0, Stackage:0.12.3.0
Reverse Dependencies 3 direct, 5 indirect [details]
Executables web-rep-example
Downloads 3728 total (34 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-10-20 [all 1 reports]

Readme for web-rep-0.12.3.0

[back to package description]

Table of Contents

  1. web-rep
  2. library reference
  3. Development

web-rep

img img

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