The nero package

[maintain]
Warnings:

This package represents the core of the Nero HTTP toolkit.

This an initial alpha release with just basic routing and HTTP parameters handling.

Check the README for a more detailed explanation.


[Skip to ReadMe]

Properties

Versions0.1, 0.1.1, 0.1.1, 0.2, 0.3, 0.3.1
Dependenciesbase (>=4.6 && <4.9), bytestring, containers (>=0.5), lens, safe, text [details]
LicenseBSD3
CopyrightCopyright (C) 2015 J. Daniel Navarro
AuthorDanny Navarro
Maintainerj@dannynavarro.net
Stabilityalpha
CategoryWeb
Home pagehttps://github.com/jdnavarro/nero
Bug trackerhttps://github.com/jdnavarro/nero/issues
Source repositoryhead: git clone git://github.com/jdnavarro/nero.git
UploadedMon Mar 30 18:57:37 UTC 2015 by jdnavarro

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for nero-0.1.1

Nero

An experimental Haskell toolkit for Lens-based web application development.

:warning: The following is for now a declaration of intentions only. Expect wild changes in the API in the near future.

Hackage Version Build Status

Example

import Nero

app :: Request -> Maybe Response
app = request ^? _GET . match ("/hello/" <> text) <&> \name ->
    ok $ "<h1>Hello " <> name <> "</h1>"

Check more examples with its corresponding tests in the [examples directory]( https://github.com/jdnavarro/nero/tree/master/examples).