Open msmorgan opened 7 years ago
@msmorgan Thanks for reporting the issue. It would indeed be nice if one got a compile error when something is exported publicly but depends on a privately imported module.
In general the module system of Idris could use a lift w.r.t selective import/export of things.
Reporting an issue discovered in #4154.
Steps to Reproduce
Clone this repository, then run:
Expected Behavior
Checks successfully.
Observed Behavior
The following error occurs:
Changing the import line in
MonadLike.idr
fixes the issue. There is a branch namedimport-public
which contains this change.