Idris2/tests/base/deriving_show/Search.idr
2022-11-02 11:57:07 +00:00

13 lines
205 B
Idris

module Search
import Language.Reflection
import Language.Reflection.TTImp
%language ElabReflection
nothing : Maybe (Not Nat)
nothing = %runElab (search ?)
test : Search.nothing === Nothing
test = Refl