-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from anton-k/api-tree-normal-form
Api tree normal form
- Loading branch information
Showing
13 changed files
with
288 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.PHONY: build test run docs | ||
|
||
build: | ||
stack build | ||
stack build | ||
|
||
test: | ||
stack test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ dependencies: | |
- aeson | ||
- random | ||
- time | ||
- pretty-show | ||
- pretty-simple | ||
- openapi3 | ||
- safe | ||
- containers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cabal-version: 1.12 | ||
cabal-version: 1.12 | ||
|
||
-- This file has been generated from package.yaml by hpack version 0.35.2. | ||
-- | ||
|
@@ -7,7 +7,9 @@ cabal-version: 1.12 | |
name: mig-wai | ||
version: 0.1.0.0 | ||
synopsis: Render mig-servers as wai-applications | ||
description: Please see the README on GitHub at <https://github.com/githubuser/mig-wai#readme> | ||
description: | ||
Please see the README on GitHub at <https://github.com/githubuser/mig-wai#readme> | ||
|
||
category: Web | ||
homepage: https://github.com/githubuser/mig-wai#readme | ||
bug-reports: https://github.com/githubuser/mig-wai/issues | ||
|
@@ -16,32 +18,36 @@ maintainer: [email protected] | |
copyright: 2023 Author name here | ||
license: BSD3 | ||
build-type: Simple | ||
extra-source-files: | ||
README.md | ||
extra-source-files: README.md | ||
|
||
source-repository head | ||
type: git | ||
type: git | ||
location: https://github.com/githubuser/mig-wai | ||
|
||
library | ||
exposed-modules: | ||
Mig.Server.Wai | ||
other-modules: | ||
Paths_mig_wai | ||
hs-source-dirs: | ||
src | ||
exposed-modules: Mig.Server.Wai | ||
other-modules: Paths_mig_wai | ||
hs-source-dirs: src | ||
default-extensions: | ||
OverloadedRecordDot | ||
DuplicateRecordFields | ||
OverloadedStrings | ||
LambdaCase | ||
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wunused-packages | ||
DuplicateRecordFields | ||
LambdaCase | ||
OverloadedRecordDot | ||
OverloadedStrings | ||
|
||
ghc-options: | ||
-Wall -Wcompat -Widentities -Wincomplete-record-updates | ||
-Wincomplete-uni-patterns -Wmissing-export-lists | ||
-Wmissing-home-modules -Wpartial-fields -Wredundant-constraints | ||
-Wunused-packages | ||
|
||
build-depends: | ||
base >=4.7 && <5 | ||
, bytestring | ||
, containers | ||
, data-default | ||
, exceptions | ||
, mig | ||
, text | ||
, wai | ||
default-language: GHC2021 | ||
|
||
default-language: GHC2021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ dependencies: | |
- text | ||
- wai | ||
- exceptions | ||
- data-default | ||
|
||
ghc-options: | ||
- -Wall | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.