- I'm trying to compile first Agda program
- and getting:
- ```[neo@nixos:~/Desktop]$ agda --compile Main.agda
- Calling: ghc -O -o /home/neo/Desktop/Main -Werror -i/home/neo/Desktop -main-is MAlonzo.Code.Main /home/neo/Desktop/MAlonzo/Code/Main.hs --make -fwarn-incomplete-patterns -fno-warn-overlapping-patterns
- [ 1 of 70] Compiling MAlonzo.RTE ( MAlonzo/RTE.hs, MAlonzo/RTE.o )
- Compilation error:
- MAlonzo/RTE.hs:11:1: error:
- Could not find module 'Numeric.IEEE'
- Use -v to see a list of the files searched for.
- |
- 11 | import Numeric.IEEE ( IEEE(identicalIEEE) )
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```
- according to: https://stackoverflow.com/a/49727697/750216
- I added ieee754 package to Nix near Agda using:
- haskellPackages.Agda
- haskellPackages.ieee754
- but compilation still does not see it
- any ideas?