loli-2009.6.29: A minimum web dev DSL in Haskell
Source code
Contents
Index
Network.Loli.Type
Documentation
type
RoutePathT
a = (
RequestMethod
,
String
, a)
Source
type
RoutePath
=
RoutePathT
AppUnit
Source
type
EnvFilter
=
Env
->
Env
Source
type
ResponseFilter
=
Response
->
Response
Source
type
Assoc
= [(
String
,
String
)]
Source
type
AppState
=
Response
Source
type
AppReader
=
Env
Source
type
AppUnitT
=
ReaderT
AppReader
(
StateT
AppState
IO
)
Source
type
AppUnit
=
AppUnitT
()
Source
type
Context
=
Assoc
Source
data
Loli
Source
Constructors
Loli
routes
:: [
RoutePath
]
middlewares
:: [
Middleware
]
mimes
::
Assoc
Instances
Default
Loli
type
UnitT
a =
State
Loli
a
Source
type
Unit
=
UnitT
()
Source
class
Template
a
where
Source
Methods
interpolate
:: a ->
String
->
Context
->
IO
String
Source
Instances
Template
TextTemplate
Template
ConstTemplate
Produced by
Haddock
version 2.4.2