Investigate the use of newly introduced Coq pragma
lthms opened this issue · comments
Thomas Letan commented
Using Use
may quickly become cumbersome.
I wonder if we could use the new pragma system of Coq in Exec to ease that. I don’t know if plugins can use it, but I would love to be able to write:
#[need(Console.i, FS.i)]
Definition initFile {ix}: Program ix unit :=
Console.scan >>= FS.writeFile "foo".
Thomas Letan commented
After a short discussion with a Coq dev, it appears it is not possible.