Idris2/tests/base/deriving_functor/Search.idr
2022-09-24 10:20:25 +01: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