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.

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
Change logCHANGELOG.md
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
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).