Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 2 KB

README.md

File metadata and controls

64 lines (42 loc) · 2 KB

Haskell

Prerequisites

Quick start

  1. Install Nix - see how.

  2. In a new terminal, run a devshell from the hs dir. When prompted about extra-trusted-substituters answer y. This is to use binary caches.

    cd hs
    nix develop
  3. (Optionally) Edit the config.

  4. Run the app.

    set -a
    source .env
    cabal run
  5. The fetched extensions will be in data.

  6. (Optionally) Run VSCodium.

    nix run .#writeSettings
    nix run .#codium .
  7. (Optionally) Open a .hs file and hover over a function. Wait until HLS gives the type info.

Requests

  • filterType

  • flags

  • Run sample requests. Results will be printed to the ./tmp dir.

    bash requests.sh

Configs

Troubleshooting

  • If VSCodium doesn't pick up the extensions, try to reboot your computer and start VSCodium again.
  • See troubleshooting.