data DSum : (a -> Type) -> (a -> Type) -> Type A dependent sum
This data type is supposed to mimic the `DSum` type from Haskells "dependent-sum" package
Totality: total
Visibility: public export
Constructor: (:=>) : tag x -> f x -> DSum tag f
Hints:
DEq tag => DEq f => Eq (DSum tag f) DOrd tag => DOrd f => Ord (DSum tag f) DShow tag => DShow f => Show (DSum tag f)
fst : DSum tag f -> Some tag The first component of a dependent sum
Visibility: exportsnd : DSum tag f -> Some f The sencond component of a dependent sum
Visibility: exporttoSome : DSum tag f -> Some (\x => (tag x, f x)) Convert a dependent sum to `Some`
Visibility: export