Idris2Doc : Data.Some

Data.Some

(source)
A module defining the `Some` type

Reexports

importpublic Data.DEq
importpublic Data.DOrd
importpublic Data.DShow

Definitions

dataSome : (t->Type) ->Type
  Wraps a dependent type, so that its parameter is hidden.
Values of dependent types, wrapped this way, have the same type
@ f the type constructor of types of the wrapped values.

Totality: total
Visibility: public export
Constructor: 
MkSome : fa->Somef
  Hide the type parameter of the type of a value
@ a the parameter of the type of the wrapped value
@ x the wrapped value

Hints:
DEqf=>Eq (Somef)
Applicativem=>Monoid (Somem)
DOrdf=>Ord (Somef)
Applicativem=>Semigroup (Somem)
DShowf=>Show (Somef)
withSome : Somef-> (fx->b) ->b
  Apply a dependency-removing function to the value wrapped in `Some` and
drop the wrapper

Visibility: export
withSomeM : Monadm=>m (Somef) -> (fx->mb) ->mb
  Monadic 'withSome'.

Visibility: export
foldSome : (taga->b) ->Sometag->b
  | `'flip' 'withSome'`

Visibility: export
map : (fa->ga) ->Somef->Someg
  Apply a function to the wrapped value

Visibility: export
traverseSome : Functorm=> (fa->m (ga)) ->Somef->m (Someg)
  Traverse over argument.

Visibility: export