hid-examples
hid-examples copied to clipboard
Examples to accompany the book "Haskell in Depth"
Install & build fails. PS C:\Users\guthrie\Desktop\hTest\hid-examples-0.5> cabal new-build Resolving dependencies... Build profile: -w ghc-8.10.2 -O1 In order, the following will be built (use -v for more details): - SHA-1.6.4.4 (lib)...
It ends with the error: ``` ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64 ```
diagrams-lib > [36 of 73] Compiling Diagrams.Trail diagrams-lib > diagrams-lib > /tmp/stack-01e77da6031f7a18/diagrams-lib-1.4.4/src/Diagrams/Trail.hs:314:32: error: diagrams-lib > • Couldn't match type ‘Option a0’ with ‘Maybe m’ diagrams-lib > Expected type: t ->...
Hey I'm just starting the book and getting my dev environment setup. I use NixOS even though I don't understand it very well and I probably have no business making...
When I do `cabal build`, I get: > [tedkord@fedora hid-examples]$ cabal build Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: hid-examples-0.5 (user goal) [__1] rejecting: hid-examples:!test (constraint from config...
When I do "stack build", I get the following errors: directory must match >=1.2 && =1.1.0.2 &&
This just updates stack.yaml from lts-18.18 to lts-18.28. It should be a safe small minor change, updating to the final lts-18 minor snapshot. I checked locally on Linux that `stack...
Here's a recommended directory structure for managing multiple executables in a Stack project: . ├── App1 │ ├── Main.hs │ └── stack.yaml ├── App2 │ ├── Main.hs │ └── stack.yaml...
What can I do about the following issue? How should I read it, even? ``` $ cabal --minimize-conflict-set run vocab1 -- data/texts/hamlet.txt Resolving dependencies... Error: cabal: Could not resolve dependencies:...
`~/.ghcup/hls/2.9.0.1/lib/haskell-language-server-2.9.0.1/bin//haskell-language-server-9.10.1 --lsp` ``` Failed to run ["cabal","v2-repl","~/s/hid-examples/intro/hello.hs"] in directory "~/s/hid-examples". Consult the logs for full command and error. Failed command: cabal --builddir=~/.cache/hie-bios/dist-hid-examples-1a2b767487cc0fcd7c37dc9fd128706f v2-repl --with-compiler ~/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg ~/.cache/hie-bios/ghc-pkg-65d635035016d27a17cf27eb20540249 ~/s/hid-examples/intro/hello.hs ```