| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Fri, 23 Jan 2026 05:41:36 GMT
X-Served-By: cache-dfw-ktki8620084-DFW, cache-bom-vanm7210036-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1769146897.672425,VS0,VE303
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
minion: A Haskell introspectable web router
minion: A Haskell introspectable web router
Modules
[Index] [Quick Jump]
- Web
- Web.Minion
- Web.Minion.Args
- Web.Minion.Auth
- Web.Minion.Error
- Examples
- Web.Minion.Introspect
- Web.Minion.Json
- Web.Minion.Media
- Web.Minion.Raw
- Web.Minion.Request
- Web.Minion.Response
- Web.Minion.Router
- Web.Minion.Static
- Web.Minion
Downloads
- minion-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.1.0.1 |
|---|---|
| Dependencies | aeson, base (>=4.16 && <5), base64-bytestring, binary, bytestring, case-insensitive, containers, exceptions, filepath, http-api-data, http-media, http-types, minion, string-conversions, text, transformers, wai, warp [details] |
| License | MIT |
| Author | |
| Maintainer | goosedb@yandex.ru |
| Uploaded | by goosedb at 2024-10-01T13:33:24Z |
| Category | Web |
| Distributions | NixOS:0.1.0.1 |
| Reverse Dependencies | 5 direct, 0 indirect [details] |
| Executables | minion-hello-world-example, minion-json-example, minion-complex-response-example, minion-basic-auth-example, minion-static-example, minion-introspection-example |
| Downloads | 103 total (8 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2024-10-01 [all 1 reports] |
Readme for minion-0.1.0.1
[back to package description]Minion
Minion is Haskell library for developing web applications. It stands between Scotty and Servant
| Scotty | Minion | Servant | |
|---|---|---|---|
| As simple as ABC | Yes | No | No |
| At term level | Yes | Yes | No |
| Typesafe | No | Yes | Yes |
| Introspectable | No | Yes | Yes |
| Generated client | No | No | Yes |
Since Minion defines servers at the term level, it's easier to start and without excess verbosity.
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE OverloadedLists #-}
module Main where
import Web.Minion
import Network.Wai.Handler.Warp qualified as Warp
main :: IO ()
main = Warp.run 9001 app
app :: ApplicationM IO
app = serve api
api :: Router Void IO
api = "api" />
[ "about" /> handlePlainText @String GET (pure "Hello-World Minion server")
, "hello" /> capture @String "name"
.> handlePlainText @String GET (\name -> pure $ "Hello, " <> name <> "!")
]
Documentation and examples can be found on Hackage
Minion ecosystem also contains following libraries: