Nix-based demo of Haskell's hint
library
Warning
While this repo is currently functional, it may undergo substantial changes.
Our config.hs
has access to:
- Internal library,
packages/hint-demo-types
- External libraries,
optics-core
,optics-th
,time
.
We must explicitly define the internal library in hint.nix
.
Based on haskell-hint/hint#79
To run:
# Nix
nix run
# Cabal
nix develop -c cabal run hint-demo
# ghcid
nix develop -c just run