@hackage servant-nix0.1

Servant Nix content-type

servant-nix

Use Nix expressions as request or response bodies in servant applications

servant

Example

Run the example:

cabal new-test

It performs a simple roundtrip test for a fixed Nix expression which is a list of numbers. See the code in example/Main.hs.