lean2/tests/lean/opaque.lean
Leonardo de Moura 593f1f2ebd fix(frontends/lean): allow user set constants defined in other namespaces as opaque
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-06 20:56:31 -08:00

18 lines
295 B
Text

import macros
import pair
import subtype
import optional
using subtype
using optional
namespace sum
set_opaque optional false
set_opaque subtype false
set_opaque some false
set_opaque optional::none false
set_opaque rep false
set_opaque subtype::abst false
set_opaque optional_pred false
end