| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Measured.Size
Description
Documentation
Measured size. Always non-negative.
Instances
| Enum Size Source # | |
| Eq Size Source # | |
| Integral Size Source # | |
| Num Size Source # | |
| Ord Size Source # | |
| Read Size Source # | |
| Real Size Source # | |
Defined in Data.Measured.Size Methods toRational :: Size -> Rational # | |
| Show Size Source # | |
| Generic Size Source # | |
| Semigroup Size Source # | |
| Monoid Size Source # | |
| NFData Size Source # | |
Defined in Data.Measured.Size | |
| Measured Size (Elem a) Source # | |
| type Rep Size Source # | |
Defined in Data.Measured.Size | |
Newtype wrapper for things for which we can measure the size
Instances
| Functor Elem Source # | |
| Foldable Elem Source # | |
Defined in Data.Measured.Size Methods fold :: Monoid m => Elem m -> m # foldMap :: Monoid m => (a -> m) -> Elem a -> m # foldMap' :: Monoid m => (a -> m) -> Elem a -> m # foldr :: (a -> b -> b) -> b -> Elem a -> b # foldr' :: (a -> b -> b) -> b -> Elem a -> b # foldl :: (b -> a -> b) -> b -> Elem a -> b # foldl' :: (b -> a -> b) -> b -> Elem a -> b # foldr1 :: (a -> a -> a) -> Elem a -> a # foldl1 :: (a -> a -> a) -> Elem a -> a # elem :: Eq a => a -> Elem a -> Bool # maximum :: Ord a => Elem a -> a # | |
| Traversable Elem Source # | |
| Measured Size (Elem a) Source # | |
| Eq a => Eq (Elem a) Source # | |
| Ord a => Ord (Elem a) Source # | |
| Read a => Read (Elem a) Source # | |
| Show a => Show (Elem a) Source # | |
Things that have a size
Instances
| Functor Sized Source # | |
| Foldable Sized Source # | |
Defined in Data.Measured.Size Methods fold :: Monoid m => Sized m -> m # foldMap :: Monoid m => (a -> m) -> Sized a -> m # foldMap' :: Monoid m => (a -> m) -> Sized a -> m # foldr :: (a -> b -> b) -> b -> Sized a -> b # foldr' :: (a -> b -> b) -> b -> Sized a -> b # foldl :: (b -> a -> b) -> b -> Sized a -> b # foldl' :: (b -> a -> b) -> b -> Sized a -> b # foldr1 :: (a -> a -> a) -> Sized a -> a # foldl1 :: (a -> a -> a) -> Sized a -> a # elem :: Eq a => a -> Sized a -> Bool # maximum :: Ord a => Sized a -> a # minimum :: Ord a => Sized a -> a # | |
| Traversable Sized Source # | |
| Eq a => Eq (Sized a) Source # | |
| Ord a => Ord (Sized a) Source # | |
| Show a => Show (Sized a) Source # | |
| Generic (Sized a) Source # | |
| Semigroup a => Semigroup (Sized a) Source # | |
| Monoid a => Monoid (Sized a) Source # | |
| NFData a => NFData (Sized a) Source # | |
Defined in Data.Measured.Size | |
| type Rep (Sized a) Source # | |
Defined in Data.Measured.Size type Rep (Sized a) = D1 ('MetaData "Sized" "Data.Measured.Size" "hgeometry-combinatorial-0.12.0.2-BPOszceZMWb3Na6sqXbM08" 'False) (C1 ('MetaCons "Sized" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Size) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) | |