| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sun, 18 Jan 2026 23:39:54 GMT
X-Served-By: cache-dfw-ktki8620069-DFW, cache-bom-vanm7210078-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768779594.979913,VS0,VE897
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
hid-examples: Examples to accompany the book "Haskell in Depth"
[Skip to Readme]
hid-examples: Examples to accompany the book "Haskell in Depth"
This package provides source code examples which accompany the book "Haskell in Depth" by Vitaly Bragilevsky (Manning Publications 2020). You may want to get this package via cabal get hid-examples and explore its content.
[Skip to Readme]
Downloads
- hid-examples-0.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.2, 0.3, 0.4, 0.5 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson (>=1.2 && <1.5), base (>=4.12 && <4.15), blaze-html (>=0.9 && <0.10), bytestring (>=0.10 && <0.11), cassava (>=0.5 && <0.6), Chart (>=1.8 && <1.10), Chart-diagrams (>=1.8 && <1.10), containers (>=0.5 && <0.7), directory (>=1.3 && <1.4), extra (>=1.5 && <1.8), filepath (>=1.4.1 && <1.5), fingertree (>=0.1 && <0.2), fmt (>=0.5 && <0.7), hedgehog (>=0.5 && <1.1), hid-examples, hint (>=0.7 && <0.10), http-client (>=0.4 && <0.7), mtl (>=2.0 && <2.3), optparse-applicative (>=0.14 && <0.16), random (>=1.0 && <1.2), req (>=2.0 && <3.2), safe (>=0.3 && <0.4), safe-exceptions (>=0.1.5 && <0.2), split (>=0.2 && <0.3), text (>=1.2 && <1.3), time (>=1.8 && <1.11), transformers (>=0.5 && <0.6), unix-compat (>=0.5 && <0.6) [details] |
| Tested with | ghc ==8.6.5, ghc ==8.8.3 |
| License | BSD-3-Clause |
| Author | Vitaly Bragilevsky |
| Maintainer | Vitaly Bragilevsky <vit.bragilevsky@gmail.com> |
| Uploaded | by bravit at 2020-04-22T05:25:22Z |
| Category | Sample Code |
| Home page | https://github.com/bravit/hid-examples#readme |
| Bug tracker | https://github.com/bravit/hid-examples/issues |
| Source repo | head: git clone https://github.com/bravit/hid-examples |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | xlist-data-families, weights-phantom, weights-kinds, weapons, vocab3, vocab2, vocab1, type-operators, type-lits, type-families, suntimes, stref, stockquotes, shunting-yard, showexpr, rpnexpr, reader, nummod-rank-n, maybe, locator, iplookup-simulation, iplookup, ipgen, ioref, graph-assoc-tf, genSQL, gcd, filecount, expr-gadt, dynvalues-gadt, du, doors-type-equality, doors-singletons, dicegame, describe-type-apps, describe-proxies, api-stage3, api-stage2, api-stage1, api-stage0 |
| Downloads | 2942 total (25 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2020-04-22 [all 1 reports] |
Readme for hid-examples-0.5
[back to package description]This is the sample code to accompany the book Haskell in Depth (Vitaly Bragilevsky, Manning Publications 2019).
To get the source code on your system, you may want to run:
cabal get hid-examples
Alternatively, you may clone GitHub repository with the most current version.
To work with the code on your system, you need either:
Using Stack
Building
stack build
Running
stack exec <executable> [ -- <arguments>]
For example:
stack exec stockquotes -- data/quotes.csv -p -v
Testing
stack test
Exploring in GHCi
stack ghci <module file>
For example:
stack ghci stockquotes/Statistics.hs
Using Cabal sandbox
Building
cabal sandbox init
cabal install --only-dependencies --enable-tests
cabal configure --enable-tests
cabal build
Running
cabal run <executable> [ -- <arguments>]
For example:
cabal run stockquotes -- data/quotes.csv -p -v
Testing
cabal test
cabal test iplookup-test
Exploring in GHCi
cabal repl <executable>
For example:
cabal repl stockquotes
To work with particular module, you have to load it in GHCi with :load.
Using Cabal new-*
Building
cabal new-build
Testing
cabal new-test