Hello,
2012/7/26 Andrea Vezzosi <
sanz...@gmail.com>:
thank you for the tip, Andrea. Although I did RTFM (tutorial) I did
not look into the sources. So I've wrongly assumed that the
`:addproof' command in Idris' REPL will add proof *terms* to the
source file.
By the way: You can even get rid of the metavariables. Here is
primitive example for illustration:
If you have something like this in your source file:
or_tf : True || False = True
or_tf = ?or_tf_proof
...
?or_tf_proof = proof {
compute;
refine refl;
}
you could also write:
or_tf : True || False = True
or_tf = proof {
compute;
refine refl;
}
instead.
Dirk