felix
felix copied to clipboard
Agda category theory library for denotational design

Felix: an Agda category theory for denotational design
Introduction
This library replaces the overgrown denotational-hardware library, which had mixed general category theory with some functionality for hardware design.
Dependencies
- Agda compiler. Works with Agda 2.6.4.
- The Agda standard library (agda-stdlib). Works with agda-stdlib 2.0.
- Haskell ieee754 package (as described under Troubleshooting below).
Troubleshooting
You might see an error message like this:
Calling: ghc -O -o /Users/sseefried/code/agda-machines/Test -Werror -i/Users/sseefried/code/agda-machines -main-is MAlonzo.Code.Test /Users/sseefried/code/agda-machines/MAlonzo/Code/Test.hs --make -fwarn-incomplete-patterns -fno-warn-overlapping-patterns
[ 1 of 153] Compiling MAlonzo.RTE ( MAlonzo/RTE.hs, MAlonzo/RTE.o )
Compilation error:
MAlonzo/RTE.hs:9:1: error:
Could not find module ‘Numeric.IEEE’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
9 | import Numeric.IEEE ( IEEE(identicalIEEE, nan) )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can fix this error with:
cabal install --lib ieee754
You can find out how to more about this issue here and here.