nero: Lens-based HTTP toolkit

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] [Publish]

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

Versions 0.1, 0.1, 0.1.1, 0.2, 0.3, 0.3.1
Change log CHANGELOG.md
Dependencies base (>=4.7 && <4.8), bytestring, containers, lens, safe, text [details]
License BSD-3-Clause
Copyright Copyright (C) 2015 J. Daniel Navarro
Author Danny Navarro
Maintainer j@dannynavarro.net
Category Web
Home page https://github.com/jdnavarro/nero
Bug tracker https://github.com/jdnavarro/nero/issues
Source repo head: git clone git://github.com/jdnavarro/nero.git
Uploaded by jdnavarro at 2015-03-30T11:29:16Z

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for nero-0.1

[back to package description]

Nero

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

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

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.