├── .gitignore ├── .travis.yml ├── ChangeLog.md ├── LICENSE ├── README.md ├── Setup.hs ├── package.yaml ├── src └── Servant │ ├── Reason.hs │ └── Reason │ └── Internal │ ├── Foreign.hs │ ├── Generate.hs │ └── Orphans.hs ├── stack.yaml └── test ├── Common.hs ├── CompileSpec.hs ├── GenerateSpec.hs └── reason-sources ├── BookType.re ├── getBooksByIdSource.re ├── getBooksByTitleSource.re ├── getBooksSource.re ├── getNothingSource.re ├── getOneSource.re ├── getOneWithDynamicUrlSource.re ├── getWithaheaderSource.re ├── getWitharesponseheaderSource.re ├── postBooksSource.re ├── postTwoSource.re └── putNothingSource.re /.gitignore: -------------------------------------------------------------------------------- 1 | .stack-work/ 2 | servant-reason.cabal 3 | *~ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/.travis.yml -------------------------------------------------------------------------------- /ChangeLog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/ChangeLog.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/package.yaml -------------------------------------------------------------------------------- /src/Servant/Reason.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/src/Servant/Reason.hs -------------------------------------------------------------------------------- /src/Servant/Reason/Internal/Foreign.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/src/Servant/Reason/Internal/Foreign.hs -------------------------------------------------------------------------------- /src/Servant/Reason/Internal/Generate.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/src/Servant/Reason/Internal/Generate.hs -------------------------------------------------------------------------------- /src/Servant/Reason/Internal/Orphans.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/src/Servant/Reason/Internal/Orphans.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/stack.yaml -------------------------------------------------------------------------------- /test/Common.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/Common.hs -------------------------------------------------------------------------------- /test/CompileSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/CompileSpec.hs -------------------------------------------------------------------------------- /test/GenerateSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/GenerateSpec.hs -------------------------------------------------------------------------------- /test/reason-sources/BookType.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/BookType.re -------------------------------------------------------------------------------- /test/reason-sources/getBooksByIdSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getBooksByIdSource.re -------------------------------------------------------------------------------- /test/reason-sources/getBooksByTitleSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getBooksByTitleSource.re -------------------------------------------------------------------------------- /test/reason-sources/getBooksSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getBooksSource.re -------------------------------------------------------------------------------- /test/reason-sources/getNothingSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getNothingSource.re -------------------------------------------------------------------------------- /test/reason-sources/getOneSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getOneSource.re -------------------------------------------------------------------------------- /test/reason-sources/getOneWithDynamicUrlSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getOneWithDynamicUrlSource.re -------------------------------------------------------------------------------- /test/reason-sources/getWithaheaderSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getWithaheaderSource.re -------------------------------------------------------------------------------- /test/reason-sources/getWitharesponseheaderSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/getWitharesponseheaderSource.re -------------------------------------------------------------------------------- /test/reason-sources/postBooksSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/postBooksSource.re -------------------------------------------------------------------------------- /test/reason-sources/postTwoSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/postTwoSource.re -------------------------------------------------------------------------------- /test/reason-sources/putNothingSource.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abarbu/servant-reason/HEAD/test/reason-sources/putNothingSource.re --------------------------------------------------------------------------------