newtype-zoo-1.2.1.0: Newtype Wrapper Zoo
Safe HaskellNone
LanguageHaskell2010

NewtypeZoo.Remaining

Description

Indicate that something is the Remaining part of something.

Documentation

newtype Remaining a Source #

Constructors

Remaining a 

Instances

Instances details
Monad Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

(>>=) :: Remaining a -> (a -> Remaining b) -> Remaining b #

(>>) :: Remaining a -> Remaining b -> Remaining b #

return :: a -> Remaining a #

Functor Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

fmap :: (a -> b) -> Remaining a -> Remaining b #

(<$) :: a -> Remaining b -> Remaining a #

MonadFix Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

mfix :: (a -> Remaining a) -> Remaining a #

Applicative Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

pure :: a -> Remaining a #

(<*>) :: Remaining (a -> b) -> Remaining a -> Remaining b #

liftA2 :: (a -> b -> c) -> Remaining a -> Remaining b -> Remaining c #

(*>) :: Remaining a -> Remaining b -> Remaining b #

(<*) :: Remaining a -> Remaining b -> Remaining a #

Foldable Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

fold :: Monoid m => Remaining m -> m #

foldMap :: Monoid m => (a -> m) -> Remaining a -> m #

foldMap' :: Monoid m => (a -> m) -> Remaining a -> m #

foldr :: (a -> b -> b) -> b -> Remaining a -> b #

foldr' :: (a -> b -> b) -> b -> Remaining a -> b #

foldl :: (b -> a -> b) -> b -> Remaining a -> b #

foldl' :: (b -> a -> b) -> b -> Remaining a -> b #

foldr1 :: (a -> a -> a) -> Remaining a -> a #

foldl1 :: (a -> a -> a) -> Remaining a -> a #

toList :: Remaining a -> [a] #

null :: Remaining a -> Bool #

length :: Remaining a -> Int #

elem :: Eq a => a -> Remaining a -> Bool #

maximum :: Ord a => Remaining a -> a #

minimum :: Ord a => Remaining a -> a #

sum :: Num a => Remaining a -> a #

product :: Num a => Remaining a -> a #

Traversable Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

traverse :: Applicative f => (a -> f b) -> Remaining a -> f (Remaining b) #

sequenceA :: Applicative f => Remaining (f a) -> f (Remaining a) #

mapM :: Monad m => (a -> m b) -> Remaining a -> m (Remaining b) #

sequence :: Monad m => Remaining (m a) -> m (Remaining a) #

Eq1 Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

liftEq :: (a -> b -> Bool) -> Remaining a -> Remaining b -> Bool #

Ord1 Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

liftCompare :: (a -> b -> Ordering) -> Remaining a -> Remaining b -> Ordering #

Read1 Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Show1 Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Remaining a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Remaining a] -> ShowS #

MonadZip Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

mzip :: Remaining a -> Remaining b -> Remaining (a, b) #

mzipWith :: (a -> b -> c) -> Remaining a -> Remaining b -> Remaining c #

munzip :: Remaining (a, b) -> (Remaining a, Remaining b) #

Pointed Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

point :: a -> Remaining a #

Copointed Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

copoint :: Remaining a -> a #

Bounded a => Bounded (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Enum a => Enum (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Eq a => Eq (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

(==) :: Remaining a -> Remaining a -> Bool #

(/=) :: Remaining a -> Remaining a -> Bool #

Floating a => Floating (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Fractional a => Fractional (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Integral a => Integral (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Num a => Num (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Ord a => Ord (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Read a => Read (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Real a => Real (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

RealFloat a => RealFloat (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

RealFrac a => RealFrac (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

properFraction :: Integral b => Remaining a -> (b, Remaining a) #

truncate :: Integral b => Remaining a -> b #

round :: Integral b => Remaining a -> b #

ceiling :: Integral b => Remaining a -> b #

floor :: Integral b => Remaining a -> b #

Show a => Show (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Ix a => Ix (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

IsString a => IsString (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

fromString :: String -> Remaining a #

Generic (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Associated Types

type Rep (Remaining a) :: Type -> Type #

Methods

from :: Remaining a -> Rep (Remaining a) x #

to :: Rep (Remaining a) x -> Remaining a #

Semigroup a => Semigroup (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

(<>) :: Remaining a -> Remaining a -> Remaining a #

sconcat :: NonEmpty (Remaining a) -> Remaining a #

stimes :: Integral b => b -> Remaining a -> Remaining a #

Monoid a => Monoid (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Arbitrary a => Arbitrary (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

arbitrary :: Gen (Remaining a) #

shrink :: Remaining a -> [Remaining a] #

Bits a => Bits (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

FiniteBits a => FiniteBits (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Default a => Default (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

def :: Remaining a #

NFData a => NFData (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

rnf :: Remaining a -> () #

Random a => Random (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

Methods

randomR :: RandomGen g => (Remaining a, Remaining a) -> g -> (Remaining a, g) #

random :: RandomGen g => g -> (Remaining a, g) #

randomRs :: RandomGen g => (Remaining a, Remaining a) -> g -> [Remaining a] #

randoms :: RandomGen g => g -> [Remaining a] #

Generic1 Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

Associated Types

type Rep1 Remaining :: k -> Type #

Methods

from1 :: forall (a :: k). Remaining a -> Rep1 Remaining a #

to1 :: forall (a :: k). Rep1 Remaining a -> Remaining a #

type Rep (Remaining a) Source # 
Instance details

Defined in NewtypeZoo.Remaining

type Rep (Remaining a) = D1 ('MetaData "Remaining" "NewtypeZoo.Remaining" "newtype-zoo-1.2.1.0-Km8yne3Tled57gA1FTjiYK" 'True) (C1 ('MetaCons "Remaining" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))
type Rep1 Remaining Source # 
Instance details

Defined in NewtypeZoo.Remaining

type Rep1 Remaining = D1 ('MetaData "Remaining" "NewtypeZoo.Remaining" "newtype-zoo-1.2.1.0-Km8yne3Tled57gA1FTjiYK" 'True) (C1 ('MetaCons "Remaining" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1))

theRemaining :: forall a b p f. (Profunctor p, Functor f) => p a (f b) -> p (Remaining a) (f (Remaining b)) Source #