Idris2Doc : Language.Reflection.Refined.Util

Language.Reflection.Refined.Util

(source)
Utilities for Language.Reflection.Refined

Reexports

importpublic Data.Maybe
importpublic Data.So

Definitions

maybeSo : (b : Bool) ->Maybe (Sob)
  Try and convert a boolean to `So`, that is, a proof that the
boolean in question equals `True`.

Totality: total
Visibility: public export
refineSo : {f : a->Bool} -> ((v : a) -> (0_ : So (fv)) ->b) ->a->Maybeb
  Try to create a refined value that requires an erased proof of `So (f v)`.

Totality: total
Visibility: public export