-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
CR:Status:ClosedAdmin only: Change request that has been completedAdmin only: Change request that has been completedCR:Type:BugAdmin only: Change request pertaining to error detectedAdmin only: Change request pertaining to error detected
Milestone
Description
Description
The current installation instructions do not expose all packages, meaning that users can only access whatever is re-exported by the package copilot
. This prevents users from accessing many key features of Copilot, and from compiling many specifications.
Type
- Bug: Installation instructions are insufficient for standard use cases.
Additional context
None.
Requester
- Ivan Perez.
Method to check presence of bug
Install Copilot using instructions in the README:
$ cabal v2-install --lib copilot
Try to compile a specification in one of the examples:
$ runhaskell copilot/examples/Heater.hs
copilot/examples/Heater.hs:11:1: error: [GHC-87110]
Could not load module `Copilot.Compile.C99'.
It is a member of the hidden package `copilot-c99-4.2'.
You can run `:set -package copilot-c99' to expose it.
(Note: this unloads all the modules in the current scope.)
Use :set -v to see a list of the files searched for.
|
11 | import Copilot.Compile.C99
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expected result
The specification can be compiled and executed correctly, producing C code.
Desired result
The specification can be compiled and executed correctly, producing C code.
Proposed solution
Modify installation instructions to expose all packages in the Copilot project.
Further notes
None.
Metadata
Metadata
Assignees
Labels
CR:Status:ClosedAdmin only: Change request that has been completedAdmin only: Change request that has been completedCR:Type:BugAdmin only: Change request pertaining to error detectedAdmin only: Change request pertaining to error detected