dependent-sum-0.4: Dependent sum type
Data.Some
data Some tag where Source #
Constructors
Instances
Methods
(==) :: Some k tag -> Some k tag -> Bool #
(/=) :: Some k tag -> Some k tag -> Bool #
compare :: Some k tag -> Some k tag -> Ordering #
(<) :: Some k tag -> Some k tag -> Bool #
(<=) :: Some k tag -> Some k tag -> Bool #
(>) :: Some k tag -> Some k tag -> Bool #
(>=) :: Some k tag -> Some k tag -> Bool #
max :: Some k tag -> Some k tag -> Some k tag #
min :: Some k tag -> Some k tag -> Some k tag #
readsPrec :: Int -> ReadS (Some k f) #
readList :: ReadS [Some k f] #
readPrec :: ReadPrec (Some k f) #
readListPrec :: ReadPrec [Some k f] #
showsPrec :: Int -> Some k tag -> ShowS #
show :: Some k tag -> String #
showList :: [Some k tag] -> ShowS #
withSome :: Some tag -> (forall a. tag a -> b) -> b Source #