The nero package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Warnings:

This package represents the core of the Nero HTTP toolkit.

Check the README for a more detailed explanation.


[Skip to ReadMe]

Properties

Versions0.1, 0.1.1, 0.2, 0.2, 0.3, 0.3.1
Change logCHANGELOG.md
Dependenciesbase (>=4.6 && <4.9), bifunctors, bytestring, containers (>=0.5), lens, text [details]
LicenseBSD3
CopyrightCopyright (C) 2015 J. Daniel Navarro
AuthorDanny Navarro
MaintainerDanny Navarro <j@dannynavarro.net>
CategoryWeb
Home pagehttps://github.com/jdnavarro/nero
Bug trackerhttps://github.com/jdnavarro/nero/issues
Source repositoryhead: git clone git://github.com/jdnavarro/nero.git
UploadedSun Apr 5 09:14:20 UTC 2015 by jdnavarro

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for nero-0.2

[back to package description]

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