https://github.com/srid/hint-demo
Nix-based demo of Haskell's `hint` library
https://github.com/srid/hint-demo
Last synced: 24 days ago
JSON representation
Nix-based demo of Haskell's `hint` library
- Host: GitHub
- URL: https://github.com/srid/hint-demo
- Owner: srid
- License: mit
- Created: 2025-09-13T21:16:11.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2026-04-15T19:11:19.000Z (4 months ago)
- Last Synced: 2026-04-15T19:29:42.381Z (4 months ago)
- Language: Nix
- Homepage:
- Size: 39.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hint-demo
Nix-based demo of Haskell's `hint` library
> [!WARNING]
> While this repo is currently functional, it may undergo substantial changes.
## Using hint with external libraries
Our [`config.hs`](packages/hint-demo/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`](nix/modules/flake/hint.nix).
Based on https://github.com/haskell-hint/hint/issues/79
## Running
To run:
```sh
# Nix
nix run
# Cabal
nix develop -c cabal run hint-demo
# ghcid
nix develop -c just run
```
## Real-world uses
- https://github.com/juspay/vira