-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebased to clean up main before transferring repo back to byteverse.
Added Json.Parser.word32. Added HSpec tests. Bumped version number and updated changelog. Cleanup, reformatting, and removed workflows.
- Loading branch information
1 parent
2dce2e3
commit 83b5d9f
Showing
15 changed files
with
593 additions
and
422 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,3 +1,4 @@ | ||
.vscode/ | ||
dist | ||
dist-* | ||
cabal-dev | ||
|
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Number of spaces per indentation step | ||
indentation: 2 | ||
|
||
# Max line length for automatic line breaking | ||
column-limit: 200 | ||
|
||
# Styling of arrows in type signatures (choices: trailing, leading, or leading-args) | ||
function-arrows: trailing | ||
|
||
# How to place commas in multi-line lists, records, etc. (choices: leading or trailing) | ||
comma-style: leading | ||
|
||
# Styling of import/export lists (choices: leading, trailing, or diff-friendly) | ||
import-export-style: leading | ||
|
||
# Whether to full-indent or half-indent 'where' bindings past the preceding body | ||
indent-wheres: false | ||
|
||
# Whether to leave a space before an opening record brace | ||
record-brace-space: true | ||
|
||
# Number of spaces between top-level declarations | ||
newlines-between-decls: 1 | ||
|
||
# How to print Haddock comments (choices: single-line, multi-line, or multi-line-compact) | ||
haddock-style: multi-line | ||
|
||
# How to print module docstring | ||
haddock-style-module: null | ||
|
||
# Styling of let blocks (choices: auto, inline, newline, or mixed) | ||
let-style: auto | ||
|
||
# How to align the 'in' keyword with respect to the 'let' keyword (choices: left-align, right-align, or no-space) | ||
in-style: right-align | ||
|
||
# Whether to put parentheses around a single constraint (choices: auto, always, or never) | ||
single-constraint-parens: always | ||
|
||
# Output Unicode syntax (choices: detect, always, or never) | ||
unicode: never | ||
|
||
# Give the programmer more choice on where to insert blank lines | ||
respectful: true | ||
|
||
# Fixity information for operators | ||
fixities: [] | ||
|
||
# Module reexports Fourmolu should know about | ||
reexports: [] | ||
|
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,19 +1,20 @@ | ||
cabal-version: 2.4 | ||
name: json-query | ||
version: 0.2.2.0 | ||
synopsis: Kitchen sink for querying JSON | ||
cabal-version: 2.4 | ||
name: json-query | ||
version: 0.2.3.0 | ||
synopsis: Kitchen sink for querying JSON | ||
description: | ||
The library complements json-syntax by making available several | ||
common access patterns. The utilities provided by this library | ||
only query JSON. They do not update it. | ||
bug-reports: https://github.com/andrewthad/json-query | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
copyright: 2020 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
|
||
bug-reports: https://github.com/andrewthad/json-query | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
copyright: 2020 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
extra-source-files: CHANGELOG.md | ||
|
||
library | ||
|
@@ -24,44 +25,50 @@ library | |
Json.Errors | ||
Json.Parser | ||
Json.Path | ||
|
||
build-depends: | ||
, array-chunks >=0.1.2 && <0.2 | ||
, base >=4.12 && <5 | ||
, bytebuild >=0.3.5 && <0.4 | ||
, bytestring >=0.10 && <0.12 | ||
, contiguous >=0.6.1 | ||
, json-syntax >=0.2.2 && <0.3 | ||
, primitive >=0.7 && <0.10 | ||
, primitive-unlifted >=0.1.3 && <2.2 | ||
, profunctors >=5.6 | ||
, scientific-notation >=0.1.5 && <0.2 | ||
, text-short >=0.1.3 && <0.2 | ||
, transformers >=0.5.6 && <0.7 | ||
hs-source-dirs: src | ||
, array-chunks >=0.1.2 && <0.2 | ||
, base >=4.12 && <5 | ||
, bytebuild >=0.3.5 && <0.4 | ||
, bytestring >=0.10 && <0.12 | ||
, contiguous >=0.6.1 | ||
, json-syntax >=0.2.2 && <0.3 | ||
, primitive >=0.7 && <0.10 | ||
, primitive-unlifted >=0.1.3 && <2.2 | ||
, profunctors >=5.6 | ||
, scientific-notation >=0.1.5 && <0.2 | ||
, text-short >=0.1.3 && <0.2 | ||
, transformers >=0.5.6 && <0.7 | ||
|
||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -O2 | ||
ghc-options: -Wall -O2 | ||
|
||
test-suite test | ||
default-language: Haskell2010 | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
other-modules: | ||
Arrowy | ||
DogHouse | ||
Monadic | ||
ghc-options: -Wall -O2 | ||
|
||
ghc-options: -Wall -O2 | ||
build-depends: | ||
, array-chunks | ||
, base >=4.12.0.0 && <5 | ||
, byteslice >=0.1.3 | ||
, base >=4.12.0.0 && <5 | ||
, bytebuild | ||
, byteslice >=0.1.3 | ||
, bytestring | ||
, hspec >=2.11.7 | ||
, json-query | ||
, json-syntax | ||
, neat-interpolation >=0.5.1 | ||
, primitive | ||
, bytebuild | ||
, tasty >=1.2.3 | ||
, tasty-hunit >=0.10.0.2 | ||
, scientific-notation ==0.1.6.0 | ||
, tasty >=1.2.3 | ||
, tasty-hspec >=1.2.0.4 | ||
, tasty-hunit >=0.10.0.2 | ||
, text >=1.2 | ||
, text-short | ||
, neat-interpolation >=0.5.1 | ||
, text >=1.2 |
Oops, something went wrong.