@hackage geojson4.1.3
A thin GeoJSON Layer above the aeson library
Categories
License
BSD-3-Clause
Maintainer
Andrew Newman
Links
Versions
Installation
Dependencies (11)
- aeson >=2.0.1.0 && <3
- base >=4.9 && <5
- containers >=0.5.7.1 && <0.9
- deepseq >=1.4.2.0 && <1.6
- lens >=4.11
- scientific >=0.2.0 && <0.4 Show all…
Dependents (5)
@hackage/poseidon-postgis, @hackage/wkt-geom, @hackage/acme-everything, @hackage/esqueleto-postgis, @hackage/reanimate
geojson
Hackage
A thin GeoJSON Layer above the aeson library
Development
- We use Ormolu for code formatting.
Visual Studio Code Setup
Install Command Line Apps: ormolu and hlint.
Plugins:
- Haskell https://marketplace.visualstudio.com/items?itemName=haskell.haskell
- Haskell Syntax Highlighting https://marketplace.visualstudio.com/items?itemName=justusadam.language-haskell
- Haskell Linter https://marketplace.visualstudio.com/items?itemName=hoovercj.haskell-linter
- Run on Save https://marketplace.visualstudio.com/items?itemName=pucelle.run-on-save
One installed to reformat a file:
- Shift-Alt-F
Or configure Run on Save:
{
"globMatch": "{**/src/**/*.hs,**/test/**/*.hs}",
"command": "ormolu --color always --check-idempotence --mode inplace ${file}",
"runIn": "terminal",
"runningStatusMessage": "Checking code style ${fileBasename}",
"finishStatusMessage": "${fileBasename} checked"
}
Run tests:
stack test :geojson-test
Run hlint:
stack test :geojson-hlint