Idris2/tests/base/deriving_show/Search.idr

13 lines
205 B
Idris
Raw Normal View History

2022-11-02 14:57:07 +03:00
module Search
import Language.Reflection
import Language.Reflection.TTImp
%language ElabReflection
nothing : Maybe (Not Nat)
nothing = %runElab (search ?)
test : Search.nothing === Nothing
test = Refl