Hi! First of all, thanks and congrats on completing what seems to be the most advanced solver for Agda, at least as far as reflection is involved (and probably in general).
I'm trying to use it and the code is failing to check, because it seems that a lot of modules in this project use various compiler options such as --safe
, which only allow importing other modules that are also safe
. Unfortunately, many modules in the Agda standard library are currently not safe
, indeed [1] states that
When I try to type-check e.g. Polynomial.Simple.Reflection
, indeed I get many errors regarding this:
/home/osense/dev/agda-libs/agda-ring-solver/src/Polynomial/Simple/Reflection.agda:5,1-23
Importing module Reflection not using the --safe flag from a module
which does.
when scope checking the declaration
open import Reflection
/home/osense/dev/agda-libs/agda-ring-solver/src/Polynomial/Simple/Reflection.agda:5,1-23
Importing module Reflection not using the --without-K flag from a
module which does.
when scope checking the declaration
open import Reflection
/home/osense/dev/agda-libs/agda-ring-solver/src/Polynomial/Simple/Reflection.agda:5,1-23
Importing module Reflection not using the --no-sized-types flag
from a module which does.
when scope checking the declaration
open import Reflection
/home/osense/dev/agda-libs/agda-ring-solver/src/Polynomial/Simple/Reflection.agda:5,1-23
Importing module Reflection not using the --no-guardedness flag
from a module which does.
when scope checking the declaration
open import Reflection
How do you manage to use the library in the current state? The above is using Agda 2.6.0
and version 0.17
of the standard library, but I have also tried the latest stdlib.