@@ -37,6 +37,8 @@ import public Language.Reflection.Errors
37%default total
37%default total
39-- Things that can't be elsewhere for import cycle reasons
39-- Things that can't be elsewhere for import cycle reasons
40+%runElab (defineFunction $ DefineFun `{void} [])
40decAsBool : Dec p -> Bool
42decAsBool : Dec p -> Bool
41decAsBool (Yes _) = True
43decAsBool (Yes _) = True
42decAsBool (No _) = False
44decAsBool (No _) = False