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.



This package provides the core functionality of the Nero HTTP toolkit.

Check the README for a more detailed explanation.

[Skip to ReadMe]


Versions0.1, 0.1.1, 0.2, 0.3, 0.3, 0.3.1
Dependenciesbase (>=4.6 && <4.9), bifunctors, bytestring, containers (>=0.5), lens, text [details]
CopyrightCopyright (C) 2015 J. Daniel Navarro
AuthorDanny Navarro
MaintainerDanny Navarro <>
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedSun Apr 12 13:41:31 UTC 2015 by jdnavarro




Maintainers' corner

For package maintainers and hackage trustees

Readme for nero-0.3

[back to package description]


A Lens-based HTTP toolkit.

:warning: The following is a declaration of intentions. Expect wild changes in the API until the 1.0.0 release.

Hackage Version Build Status


{-# LANGUAGE OverloadedStrings #-}
import Nero.Prelude
import Nero (Request, Response, _GET, prefixed, target, ok)
import Nero.Warp (serve) -- from `nero-warp`

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

main :: IO ()
main = serve 8080 app

More examples in the [examples directory](