| 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: Mon, 19 Jan 2026 04:14:38 GMT
X-Served-By: cache-dfw-kdal2120120-DFW, cache-bom-vanm7210094-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768796078.459914,VS0,VE302
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
lackey: Generate Ruby clients from Servant APIs.
lackey: Generate Ruby clients from Servant APIs.
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| pedantic | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- lackey-2.0.0.12.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 2.0.0.0, 2.0.0.1, 2.0.0.2, 2.0.0.3, 2.0.0.4, 2.0.0.5, 2.0.0.6, 2.0.0.7, 2.0.0.8, 2.0.0.9, 2.0.0.10, 2.0.0.11, 2.0.0.12 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.20.0.0 && <4.21 || >=4.21.0.0 && <4.22 || >=4.22.0.0 && <4.23), servant-foreign (>=0.16 && <0.17), text (>=2.1 && <2.2) [details] |
| License | MIT |
| Author | |
| Maintainer | Taylor Fausak |
| Uploaded | by fozworth at 2026-01-14T15:25:43Z |
| Category | Web |
| Home page | https://github.com/tfausak/lackey#readme |
| Bug tracker | https://github.com/tfausak/lackey/issues |
| Source repo | head: git clone https://github.com/tfausak/lackey |
| Distributions | LTSHaskell:2.0.0.11, NixOS:2.0.0.11, Stackage:2.0.0.12 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 18679 total (146 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs uploaded by user Build status unknown [no reports yet] |
Readme for lackey-2.0.0.12
[back to package description]Lackey
Lackey is a Haskell library for generating Ruby consumers of Servant APIs.
Use Lackey.rubyForAPI to generate a string of Ruby source code for consuming
a Servant API. For example:
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
import qualified Data.Proxy as Proxy
import qualified Data.Text as Text
import qualified Data.Text.IO as Text
import qualified Lackey
import Servant.API
type API = "words" :> Get '[JSON] [String]
api :: Proxy.Proxy API
api = Proxy.Proxy
ruby :: Text.Text
ruby = Lackey.rubyForAPI api
main :: IO ()
main = Text.putStrLn ruby
-- def get_words(excon)excon.request(:method=>:get,:path=>"/words",:headers=>{},:body=>nil)end
The generated functions require Excon.