-- | Indicate that something is `Completed`.
module NewtypeZoo.Completed
  ( Completed(Completed)
  , _theCompleted
  , theCompleted
  ) where

import           Control.DeepSeq (NFData)
import           Control.Monad.Fix (MonadFix)
import           Control.Monad.Zip (MonadZip)
import           Data.Bits       (Bits,FiniteBits)
import           Data.Copointed  (Copointed)
import           Data.Default    (Default)
import           Data.Functor.Classes (Eq1, Ord1, Read1, Show1)
import           Data.Functor.Identity
import           Data.Ix         (Ix)
import           Data.Profunctor (Profunctor, dimap)
import           Data.Pointed    (Pointed)
import           Data.String     (IsString)
import           Data.Typeable   (Typeable)
import           Foreign.Storable (Storable)
import           GHC.Generics    (Generic, Generic1)
import           System.Random   (Random)
import           Test.QuickCheck (Arbitrary)

newtype Completed a = Completed a
  deriving ( Completed a -> Completed a -> Bool
(Completed a -> Completed a -> Bool)
-> (Completed a -> Completed a -> Bool) -> Eq (Completed a)
forall a. Eq a => Completed a -> Completed a -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Completed a -> Completed a -> Bool
$c/= :: forall a. Eq a => Completed a -> Completed a -> Bool
== :: Completed a -> Completed a -> Bool
$c== :: forall a. Eq a => Completed a -> Completed a -> Bool
Eq
           , Eq (Completed a)
Eq (Completed a)
-> (Completed a -> Completed a -> Ordering)
-> (Completed a -> Completed a -> Bool)
-> (Completed a -> Completed a -> Bool)
-> (Completed a -> Completed a -> Bool)
-> (Completed a -> Completed a -> Bool)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> Ord (Completed a)
Completed a -> Completed a -> Bool
Completed a -> Completed a -> Ordering
Completed a -> Completed a -> Completed a
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
forall a. Ord a => Eq (Completed a)
forall a. Ord a => Completed a -> Completed a -> Bool
forall a. Ord a => Completed a -> Completed a -> Ordering
forall a. Ord a => Completed a -> Completed a -> Completed a
min :: Completed a -> Completed a -> Completed a
$cmin :: forall a. Ord a => Completed a -> Completed a -> Completed a
max :: Completed a -> Completed a -> Completed a
$cmax :: forall a. Ord a => Completed a -> Completed a -> Completed a
>= :: Completed a -> Completed a -> Bool
$c>= :: forall a. Ord a => Completed a -> Completed a -> Bool
> :: Completed a -> Completed a -> Bool
$c> :: forall a. Ord a => Completed a -> Completed a -> Bool
<= :: Completed a -> Completed a -> Bool
$c<= :: forall a. Ord a => Completed a -> Completed a -> Bool
< :: Completed a -> Completed a -> Bool
$c< :: forall a. Ord a => Completed a -> Completed a -> Bool
compare :: Completed a -> Completed a -> Ordering
$ccompare :: forall a. Ord a => Completed a -> Completed a -> Ordering
$cp1Ord :: forall a. Ord a => Eq (Completed a)
Ord
           , ReadPrec [Completed a]
ReadPrec (Completed a)
Int -> ReadS (Completed a)
ReadS [Completed a]
(Int -> ReadS (Completed a))
-> ReadS [Completed a]
-> ReadPrec (Completed a)
-> ReadPrec [Completed a]
-> Read (Completed a)
forall a. Read a => ReadPrec [Completed a]
forall a. Read a => ReadPrec (Completed a)
forall a. Read a => Int -> ReadS (Completed a)
forall a. Read a => ReadS [Completed a]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Completed a]
$creadListPrec :: forall a. Read a => ReadPrec [Completed a]
readPrec :: ReadPrec (Completed a)
$creadPrec :: forall a. Read a => ReadPrec (Completed a)
readList :: ReadS [Completed a]
$creadList :: forall a. Read a => ReadS [Completed a]
readsPrec :: Int -> ReadS (Completed a)
$creadsPrec :: forall a. Read a => Int -> ReadS (Completed a)
Read
           , Int -> Completed a -> ShowS
[Completed a] -> ShowS
Completed a -> String
(Int -> Completed a -> ShowS)
-> (Completed a -> String)
-> ([Completed a] -> ShowS)
-> Show (Completed a)
forall a. Show a => Int -> Completed a -> ShowS
forall a. Show a => [Completed a] -> ShowS
forall a. Show a => Completed a -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Completed a] -> ShowS
$cshowList :: forall a. Show a => [Completed a] -> ShowS
show :: Completed a -> String
$cshow :: forall a. Show a => Completed a -> String
showsPrec :: Int -> Completed a -> ShowS
$cshowsPrec :: forall a. Show a => Int -> Completed a -> ShowS
Show
           , Completed a -> ()
(Completed a -> ()) -> NFData (Completed a)
forall a. NFData a => Completed a -> ()
forall a. (a -> ()) -> NFData a
rnf :: Completed a -> ()
$crnf :: forall a. NFData a => Completed a -> ()
NFData
           , Completed a -> Bool
(a -> m) -> Completed a -> m
(a -> b -> b) -> b -> Completed a -> b
(forall m. Monoid m => Completed m -> m)
-> (forall m a. Monoid m => (a -> m) -> Completed a -> m)
-> (forall m a. Monoid m => (a -> m) -> Completed a -> m)
-> (forall a b. (a -> b -> b) -> b -> Completed a -> b)
-> (forall a b. (a -> b -> b) -> b -> Completed a -> b)
-> (forall b a. (b -> a -> b) -> b -> Completed a -> b)
-> (forall b a. (b -> a -> b) -> b -> Completed a -> b)
-> (forall a. (a -> a -> a) -> Completed a -> a)
-> (forall a. (a -> a -> a) -> Completed a -> a)
-> (forall a. Completed a -> [a])
-> (forall a. Completed a -> Bool)
-> (forall a. Completed a -> Int)
-> (forall a. Eq a => a -> Completed a -> Bool)
-> (forall a. Ord a => Completed a -> a)
-> (forall a. Ord a => Completed a -> a)
-> (forall a. Num a => Completed a -> a)
-> (forall a. Num a => Completed a -> a)
-> Foldable Completed
forall a. Eq a => a -> Completed a -> Bool
forall a. Num a => Completed a -> a
forall a. Ord a => Completed a -> a
forall m. Monoid m => Completed m -> m
forall a. Completed a -> Bool
forall a. Completed a -> Int
forall a. Completed a -> [a]
forall a. (a -> a -> a) -> Completed a -> a
forall m a. Monoid m => (a -> m) -> Completed a -> m
forall b a. (b -> a -> b) -> b -> Completed a -> b
forall a b. (a -> b -> b) -> b -> Completed a -> b
forall (t :: * -> *).
(forall m. Monoid m => t m -> m)
-> (forall m a. Monoid m => (a -> m) -> t a -> m)
-> (forall m a. Monoid m => (a -> m) -> t a -> m)
-> (forall a b. (a -> b -> b) -> b -> t a -> b)
-> (forall a b. (a -> b -> b) -> b -> t a -> b)
-> (forall b a. (b -> a -> b) -> b -> t a -> b)
-> (forall b a. (b -> a -> b) -> b -> t a -> b)
-> (forall a. (a -> a -> a) -> t a -> a)
-> (forall a. (a -> a -> a) -> t a -> a)
-> (forall a. t a -> [a])
-> (forall a. t a -> Bool)
-> (forall a. t a -> Int)
-> (forall a. Eq a => a -> t a -> Bool)
-> (forall a. Ord a => t a -> a)
-> (forall a. Ord a => t a -> a)
-> (forall a. Num a => t a -> a)
-> (forall a. Num a => t a -> a)
-> Foldable t
product :: Completed a -> a
$cproduct :: forall a. Num a => Completed a -> a
sum :: Completed a -> a
$csum :: forall a. Num a => Completed a -> a
minimum :: Completed a -> a
$cminimum :: forall a. Ord a => Completed a -> a
maximum :: Completed a -> a
$cmaximum :: forall a. Ord a => Completed a -> a
elem :: a -> Completed a -> Bool
$celem :: forall a. Eq a => a -> Completed a -> Bool
length :: Completed a -> Int
$clength :: forall a. Completed a -> Int
null :: Completed a -> Bool
$cnull :: forall a. Completed a -> Bool
toList :: Completed a -> [a]
$ctoList :: forall a. Completed a -> [a]
foldl1 :: (a -> a -> a) -> Completed a -> a
$cfoldl1 :: forall a. (a -> a -> a) -> Completed a -> a
foldr1 :: (a -> a -> a) -> Completed a -> a
$cfoldr1 :: forall a. (a -> a -> a) -> Completed a -> a
foldl' :: (b -> a -> b) -> b -> Completed a -> b
$cfoldl' :: forall b a. (b -> a -> b) -> b -> Completed a -> b
foldl :: (b -> a -> b) -> b -> Completed a -> b
$cfoldl :: forall b a. (b -> a -> b) -> b -> Completed a -> b
foldr' :: (a -> b -> b) -> b -> Completed a -> b
$cfoldr' :: forall a b. (a -> b -> b) -> b -> Completed a -> b
foldr :: (a -> b -> b) -> b -> Completed a -> b
$cfoldr :: forall a b. (a -> b -> b) -> b -> Completed a -> b
foldMap' :: (a -> m) -> Completed a -> m
$cfoldMap' :: forall m a. Monoid m => (a -> m) -> Completed a -> m
foldMap :: (a -> m) -> Completed a -> m
$cfoldMap :: forall m a. Monoid m => (a -> m) -> Completed a -> m
fold :: Completed m -> m
$cfold :: forall m. Monoid m => Completed m -> m
Foldable
           , Functor Completed
Foldable Completed
Functor Completed
-> Foldable Completed
-> (forall (f :: * -> *) a b.
    Applicative f =>
    (a -> f b) -> Completed a -> f (Completed b))
-> (forall (f :: * -> *) a.
    Applicative f =>
    Completed (f a) -> f (Completed a))
-> (forall (m :: * -> *) a b.
    Monad m =>
    (a -> m b) -> Completed a -> m (Completed b))
-> (forall (m :: * -> *) a.
    Monad m =>
    Completed (m a) -> m (Completed a))
-> Traversable Completed
(a -> f b) -> Completed a -> f (Completed b)
forall (t :: * -> *).
Functor t
-> Foldable t
-> (forall (f :: * -> *) a b.
    Applicative f =>
    (a -> f b) -> t a -> f (t b))
-> (forall (f :: * -> *) a. Applicative f => t (f a) -> f (t a))
-> (forall (m :: * -> *) a b.
    Monad m =>
    (a -> m b) -> t a -> m (t b))
-> (forall (m :: * -> *) a. Monad m => t (m a) -> m (t a))
-> Traversable t
forall (m :: * -> *) a.
Monad m =>
Completed (m a) -> m (Completed a)
forall (f :: * -> *) a.
Applicative f =>
Completed (f a) -> f (Completed a)
forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> Completed a -> m (Completed b)
forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> Completed a -> f (Completed b)
sequence :: Completed (m a) -> m (Completed a)
$csequence :: forall (m :: * -> *) a.
Monad m =>
Completed (m a) -> m (Completed a)
mapM :: (a -> m b) -> Completed a -> m (Completed b)
$cmapM :: forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> Completed a -> m (Completed b)
sequenceA :: Completed (f a) -> f (Completed a)
$csequenceA :: forall (f :: * -> *) a.
Applicative f =>
Completed (f a) -> f (Completed a)
traverse :: (a -> f b) -> Completed a -> f (Completed b)
$ctraverse :: forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> Completed a -> f (Completed b)
$cp2Traversable :: Foldable Completed
$cp1Traversable :: Functor Completed
Traversable
           , a -> Completed b -> Completed a
(a -> b) -> Completed a -> Completed b
(forall a b. (a -> b) -> Completed a -> Completed b)
-> (forall a b. a -> Completed b -> Completed a)
-> Functor Completed
forall a b. a -> Completed b -> Completed a
forall a b. (a -> b) -> Completed a -> Completed b
forall (f :: * -> *).
(forall a b. (a -> b) -> f a -> f b)
-> (forall a b. a -> f b -> f a) -> Functor f
<$ :: a -> Completed b -> Completed a
$c<$ :: forall a b. a -> Completed b -> Completed a
fmap :: (a -> b) -> Completed a -> Completed b
$cfmap :: forall a b. (a -> b) -> Completed a -> Completed b
Functor
           , Completed a
Completed a -> Default (Completed a)
forall a. a -> Default a
forall a. Default a => Completed a
def :: Completed a
$cdef :: forall a. Default a => Completed a
Default
           , Semigroup (Completed a)
Completed a
Semigroup (Completed a)
-> Completed a
-> (Completed a -> Completed a -> Completed a)
-> ([Completed a] -> Completed a)
-> Monoid (Completed a)
[Completed a] -> Completed a
Completed a -> Completed a -> Completed a
forall a.
Semigroup a -> a -> (a -> a -> a) -> ([a] -> a) -> Monoid a
forall a. Monoid a => Semigroup (Completed a)
forall a. Monoid a => Completed a
forall a. Monoid a => [Completed a] -> Completed a
forall a. Monoid a => Completed a -> Completed a -> Completed a
mconcat :: [Completed a] -> Completed a
$cmconcat :: forall a. Monoid a => [Completed a] -> Completed a
mappend :: Completed a -> Completed a -> Completed a
$cmappend :: forall a. Monoid a => Completed a -> Completed a -> Completed a
mempty :: Completed a
$cmempty :: forall a. Monoid a => Completed a
$cp1Monoid :: forall a. Monoid a => Semigroup (Completed a)
Monoid
           , b -> Completed a -> Completed a
NonEmpty (Completed a) -> Completed a
Completed a -> Completed a -> Completed a
(Completed a -> Completed a -> Completed a)
-> (NonEmpty (Completed a) -> Completed a)
-> (forall b. Integral b => b -> Completed a -> Completed a)
-> Semigroup (Completed a)
forall b. Integral b => b -> Completed a -> Completed a
forall a. Semigroup a => NonEmpty (Completed a) -> Completed a
forall a. Semigroup a => Completed a -> Completed a -> Completed a
forall a b.
(Semigroup a, Integral b) =>
b -> Completed a -> Completed a
forall a.
(a -> a -> a)
-> (NonEmpty a -> a)
-> (forall b. Integral b => b -> a -> a)
-> Semigroup a
stimes :: b -> Completed a -> Completed a
$cstimes :: forall a b.
(Semigroup a, Integral b) =>
b -> Completed a -> Completed a
sconcat :: NonEmpty (Completed a) -> Completed a
$csconcat :: forall a. Semigroup a => NonEmpty (Completed a) -> Completed a
<> :: Completed a -> Completed a -> Completed a
$c<> :: forall a. Semigroup a => Completed a -> Completed a -> Completed a
Semigroup
           , Typeable
           , (forall x. Completed a -> Rep (Completed a) x)
-> (forall x. Rep (Completed a) x -> Completed a)
-> Generic (Completed a)
forall x. Rep (Completed a) x -> Completed a
forall x. Completed a -> Rep (Completed a) x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
forall a x. Rep (Completed a) x -> Completed a
forall a x. Completed a -> Rep (Completed a) x
$cto :: forall a x. Rep (Completed a) x -> Completed a
$cfrom :: forall a x. Completed a -> Rep (Completed a) x
Generic
           , (forall a. Completed a -> Rep1 Completed a)
-> (forall a. Rep1 Completed a -> Completed a)
-> Generic1 Completed
forall a. Rep1 Completed a -> Completed a
forall a. Completed a -> Rep1 Completed a
forall k (f :: k -> *).
(forall (a :: k). f a -> Rep1 f a)
-> (forall (a :: k). Rep1 f a -> f a) -> Generic1 f
$cto1 :: forall a. Rep1 Completed a -> Completed a
$cfrom1 :: forall a. Completed a -> Rep1 Completed a
Generic1
           , g -> (Completed a, g)
g -> [Completed a]
(Completed a, Completed a) -> g -> (Completed a, g)
(Completed a, Completed a) -> g -> [Completed a]
(forall g.
 RandomGen g =>
 (Completed a, Completed a) -> g -> (Completed a, g))
-> (forall g. RandomGen g => g -> (Completed a, g))
-> (forall g.
    RandomGen g =>
    (Completed a, Completed a) -> g -> [Completed a])
-> (forall g. RandomGen g => g -> [Completed a])
-> Random (Completed a)
forall a g. (Random a, RandomGen g) => g -> [Completed a]
forall a g. (Random a, RandomGen g) => g -> (Completed a, g)
forall a g.
(Random a, RandomGen g) =>
(Completed a, Completed a) -> g -> [Completed a]
forall a g.
(Random a, RandomGen g) =>
(Completed a, Completed a) -> g -> (Completed a, g)
forall g. RandomGen g => g -> [Completed a]
forall g. RandomGen g => g -> (Completed a, g)
forall g.
RandomGen g =>
(Completed a, Completed a) -> g -> [Completed a]
forall g.
RandomGen g =>
(Completed a, Completed a) -> g -> (Completed a, g)
forall a.
(forall g. RandomGen g => (a, a) -> g -> (a, g))
-> (forall g. RandomGen g => g -> (a, g))
-> (forall g. RandomGen g => (a, a) -> g -> [a])
-> (forall g. RandomGen g => g -> [a])
-> Random a
randoms :: g -> [Completed a]
$crandoms :: forall a g. (Random a, RandomGen g) => g -> [Completed a]
randomRs :: (Completed a, Completed a) -> g -> [Completed a]
$crandomRs :: forall a g.
(Random a, RandomGen g) =>
(Completed a, Completed a) -> g -> [Completed a]
random :: g -> (Completed a, g)
$crandom :: forall a g. (Random a, RandomGen g) => g -> (Completed a, g)
randomR :: (Completed a, Completed a) -> g -> (Completed a, g)
$crandomR :: forall a g.
(Random a, RandomGen g) =>
(Completed a, Completed a) -> g -> (Completed a, g)
Random
           , Gen (Completed a)
Gen (Completed a)
-> (Completed a -> [Completed a]) -> Arbitrary (Completed a)
Completed a -> [Completed a]
forall a. Arbitrary a => Gen (Completed a)
forall a. Arbitrary a => Completed a -> [Completed a]
forall a. Gen a -> (a -> [a]) -> Arbitrary a
shrink :: Completed a -> [Completed a]
$cshrink :: forall a. Arbitrary a => Completed a -> [Completed a]
arbitrary :: Gen (Completed a)
$carbitrary :: forall a. Arbitrary a => Gen (Completed a)
Arbitrary
           , Completed a
Completed a -> Completed a -> Bounded (Completed a)
forall a. a -> a -> Bounded a
forall a. Bounded a => Completed a
maxBound :: Completed a
$cmaxBound :: forall a. Bounded a => Completed a
minBound :: Completed a
$cminBound :: forall a. Bounded a => Completed a
Bounded
           , Int -> Completed a
Completed a -> Int
Completed a -> [Completed a]
Completed a -> Completed a
Completed a -> Completed a -> [Completed a]
Completed a -> Completed a -> Completed a -> [Completed a]
(Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Int -> Completed a)
-> (Completed a -> Int)
-> (Completed a -> [Completed a])
-> (Completed a -> Completed a -> [Completed a])
-> (Completed a -> Completed a -> [Completed a])
-> (Completed a -> Completed a -> Completed a -> [Completed a])
-> Enum (Completed a)
forall a. Enum a => Int -> Completed a
forall a. Enum a => Completed a -> Int
forall a. Enum a => Completed a -> [Completed a]
forall a. Enum a => Completed a -> Completed a
forall a. Enum a => Completed a -> Completed a -> [Completed a]
forall a.
Enum a =>
Completed a -> Completed a -> Completed a -> [Completed a]
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
enumFromThenTo :: Completed a -> Completed a -> Completed a -> [Completed a]
$cenumFromThenTo :: forall a.
Enum a =>
Completed a -> Completed a -> Completed a -> [Completed a]
enumFromTo :: Completed a -> Completed a -> [Completed a]
$cenumFromTo :: forall a. Enum a => Completed a -> Completed a -> [Completed a]
enumFromThen :: Completed a -> Completed a -> [Completed a]
$cenumFromThen :: forall a. Enum a => Completed a -> Completed a -> [Completed a]
enumFrom :: Completed a -> [Completed a]
$cenumFrom :: forall a. Enum a => Completed a -> [Completed a]
fromEnum :: Completed a -> Int
$cfromEnum :: forall a. Enum a => Completed a -> Int
toEnum :: Int -> Completed a
$ctoEnum :: forall a. Enum a => Int -> Completed a
pred :: Completed a -> Completed a
$cpred :: forall a. Enum a => Completed a -> Completed a
succ :: Completed a -> Completed a
$csucc :: forall a. Enum a => Completed a -> Completed a
Enum
           , Fractional (Completed a)
Completed a
Fractional (Completed a)
-> Completed a
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> Floating (Completed a)
Completed a -> Completed a
Completed a -> Completed a -> Completed a
forall a. Floating a => Fractional (Completed a)
forall a. Floating a => Completed a
forall a. Floating a => Completed a -> Completed a
forall a. Floating a => Completed a -> Completed a -> Completed a
forall a.
Fractional a
-> a
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> Floating a
log1mexp :: Completed a -> Completed a
$clog1mexp :: forall a. Floating a => Completed a -> Completed a
log1pexp :: Completed a -> Completed a
$clog1pexp :: forall a. Floating a => Completed a -> Completed a
expm1 :: Completed a -> Completed a
$cexpm1 :: forall a. Floating a => Completed a -> Completed a
log1p :: Completed a -> Completed a
$clog1p :: forall a. Floating a => Completed a -> Completed a
atanh :: Completed a -> Completed a
$catanh :: forall a. Floating a => Completed a -> Completed a
acosh :: Completed a -> Completed a
$cacosh :: forall a. Floating a => Completed a -> Completed a
asinh :: Completed a -> Completed a
$casinh :: forall a. Floating a => Completed a -> Completed a
tanh :: Completed a -> Completed a
$ctanh :: forall a. Floating a => Completed a -> Completed a
cosh :: Completed a -> Completed a
$ccosh :: forall a. Floating a => Completed a -> Completed a
sinh :: Completed a -> Completed a
$csinh :: forall a. Floating a => Completed a -> Completed a
atan :: Completed a -> Completed a
$catan :: forall a. Floating a => Completed a -> Completed a
acos :: Completed a -> Completed a
$cacos :: forall a. Floating a => Completed a -> Completed a
asin :: Completed a -> Completed a
$casin :: forall a. Floating a => Completed a -> Completed a
tan :: Completed a -> Completed a
$ctan :: forall a. Floating a => Completed a -> Completed a
cos :: Completed a -> Completed a
$ccos :: forall a. Floating a => Completed a -> Completed a
sin :: Completed a -> Completed a
$csin :: forall a. Floating a => Completed a -> Completed a
logBase :: Completed a -> Completed a -> Completed a
$clogBase :: forall a. Floating a => Completed a -> Completed a -> Completed a
** :: Completed a -> Completed a -> Completed a
$c** :: forall a. Floating a => Completed a -> Completed a -> Completed a
sqrt :: Completed a -> Completed a
$csqrt :: forall a. Floating a => Completed a -> Completed a
log :: Completed a -> Completed a
$clog :: forall a. Floating a => Completed a -> Completed a
exp :: Completed a -> Completed a
$cexp :: forall a. Floating a => Completed a -> Completed a
pi :: Completed a
$cpi :: forall a. Floating a => Completed a
$cp1Floating :: forall a. Floating a => Fractional (Completed a)
Floating
           , Num (Completed a)
Num (Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Rational -> Completed a)
-> Fractional (Completed a)
Rational -> Completed a
Completed a -> Completed a
Completed a -> Completed a -> Completed a
forall a. Fractional a => Num (Completed a)
forall a. Fractional a => Rational -> Completed a
forall a. Fractional a => Completed a -> Completed a
forall a. Fractional a => Completed a -> Completed a -> Completed a
forall a.
Num a
-> (a -> a -> a) -> (a -> a) -> (Rational -> a) -> Fractional a
fromRational :: Rational -> Completed a
$cfromRational :: forall a. Fractional a => Rational -> Completed a
recip :: Completed a -> Completed a
$crecip :: forall a. Fractional a => Completed a -> Completed a
/ :: Completed a -> Completed a -> Completed a
$c/ :: forall a. Fractional a => Completed a -> Completed a -> Completed a
$cp1Fractional :: forall a. Fractional a => Num (Completed a)
Fractional
           , Enum (Completed a)
Real (Completed a)
Real (Completed a)
-> Enum (Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> (Completed a, Completed a))
-> (Completed a -> Completed a -> (Completed a, Completed a))
-> (Completed a -> Integer)
-> Integral (Completed a)
Completed a -> Integer
Completed a -> Completed a -> (Completed a, Completed a)
Completed a -> Completed a -> Completed a
forall a. Integral a => Enum (Completed a)
forall a. Integral a => Real (Completed a)
forall a. Integral a => Completed a -> Integer
forall a.
Integral a =>
Completed a -> Completed a -> (Completed a, Completed a)
forall a. Integral a => Completed a -> Completed a -> Completed a
forall a.
Real a
-> Enum a
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
toInteger :: Completed a -> Integer
$ctoInteger :: forall a. Integral a => Completed a -> Integer
divMod :: Completed a -> Completed a -> (Completed a, Completed a)
$cdivMod :: forall a.
Integral a =>
Completed a -> Completed a -> (Completed a, Completed a)
quotRem :: Completed a -> Completed a -> (Completed a, Completed a)
$cquotRem :: forall a.
Integral a =>
Completed a -> Completed a -> (Completed a, Completed a)
mod :: Completed a -> Completed a -> Completed a
$cmod :: forall a. Integral a => Completed a -> Completed a -> Completed a
div :: Completed a -> Completed a -> Completed a
$cdiv :: forall a. Integral a => Completed a -> Completed a -> Completed a
rem :: Completed a -> Completed a -> Completed a
$crem :: forall a. Integral a => Completed a -> Completed a -> Completed a
quot :: Completed a -> Completed a -> Completed a
$cquot :: forall a. Integral a => Completed a -> Completed a -> Completed a
$cp2Integral :: forall a. Integral a => Enum (Completed a)
$cp1Integral :: forall a. Integral a => Real (Completed a)
Integral
           , Integer -> Completed a
Completed a -> Completed a
Completed a -> Completed a -> Completed a
(Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Integer -> Completed a)
-> Num (Completed a)
forall a. Num a => Integer -> Completed a
forall a. Num a => Completed a -> Completed a
forall a. Num a => Completed a -> Completed a -> Completed a
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
fromInteger :: Integer -> Completed a
$cfromInteger :: forall a. Num a => Integer -> Completed a
signum :: Completed a -> Completed a
$csignum :: forall a. Num a => Completed a -> Completed a
abs :: Completed a -> Completed a
$cabs :: forall a. Num a => Completed a -> Completed a
negate :: Completed a -> Completed a
$cnegate :: forall a. Num a => Completed a -> Completed a
* :: Completed a -> Completed a -> Completed a
$c* :: forall a. Num a => Completed a -> Completed a -> Completed a
- :: Completed a -> Completed a -> Completed a
$c- :: forall a. Num a => Completed a -> Completed a -> Completed a
+ :: Completed a -> Completed a -> Completed a
$c+ :: forall a. Num a => Completed a -> Completed a -> Completed a
Num
           , Num (Completed a)
Ord (Completed a)
Num (Completed a)
-> Ord (Completed a)
-> (Completed a -> Rational)
-> Real (Completed a)
Completed a -> Rational
forall a. Num a -> Ord a -> (a -> Rational) -> Real a
forall a. Real a => Num (Completed a)
forall a. Real a => Ord (Completed a)
forall a. Real a => Completed a -> Rational
toRational :: Completed a -> Rational
$ctoRational :: forall a. Real a => Completed a -> Rational
$cp2Real :: forall a. Real a => Ord (Completed a)
$cp1Real :: forall a. Real a => Num (Completed a)
Real
           , Floating (Completed a)
RealFrac (Completed a)
RealFrac (Completed a)
-> Floating (Completed a)
-> (Completed a -> Integer)
-> (Completed a -> Int)
-> (Completed a -> (Int, Int))
-> (Completed a -> (Integer, Int))
-> (Integer -> Int -> Completed a)
-> (Completed a -> Int)
-> (Completed a -> Completed a)
-> (Int -> Completed a -> Completed a)
-> (Completed a -> Bool)
-> (Completed a -> Bool)
-> (Completed a -> Bool)
-> (Completed a -> Bool)
-> (Completed a -> Bool)
-> (Completed a -> Completed a -> Completed a)
-> RealFloat (Completed a)
Int -> Completed a -> Completed a
Integer -> Int -> Completed a
Completed a -> Bool
Completed a -> Int
Completed a -> Integer
Completed a -> (Int, Int)
Completed a -> (Integer, Int)
Completed a -> Completed a
Completed a -> Completed a -> Completed a
forall a. RealFloat a => Floating (Completed a)
forall a. RealFloat a => RealFrac (Completed a)
forall a. RealFloat a => Int -> Completed a -> Completed a
forall a. RealFloat a => Integer -> Int -> Completed a
forall a. RealFloat a => Completed a -> Bool
forall a. RealFloat a => Completed a -> Int
forall a. RealFloat a => Completed a -> Integer
forall a. RealFloat a => Completed a -> (Int, Int)
forall a. RealFloat a => Completed a -> (Integer, Int)
forall a. RealFloat a => Completed a -> Completed a
forall a. RealFloat a => Completed a -> Completed a -> Completed a
forall a.
RealFrac a
-> Floating a
-> (a -> Integer)
-> (a -> Int)
-> (a -> (Int, Int))
-> (a -> (Integer, Int))
-> (Integer -> Int -> a)
-> (a -> Int)
-> (a -> a)
-> (Int -> a -> a)
-> (a -> Bool)
-> (a -> Bool)
-> (a -> Bool)
-> (a -> Bool)
-> (a -> Bool)
-> (a -> a -> a)
-> RealFloat a
atan2 :: Completed a -> Completed a -> Completed a
$catan2 :: forall a. RealFloat a => Completed a -> Completed a -> Completed a
isIEEE :: Completed a -> Bool
$cisIEEE :: forall a. RealFloat a => Completed a -> Bool
isNegativeZero :: Completed a -> Bool
$cisNegativeZero :: forall a. RealFloat a => Completed a -> Bool
isDenormalized :: Completed a -> Bool
$cisDenormalized :: forall a. RealFloat a => Completed a -> Bool
isInfinite :: Completed a -> Bool
$cisInfinite :: forall a. RealFloat a => Completed a -> Bool
isNaN :: Completed a -> Bool
$cisNaN :: forall a. RealFloat a => Completed a -> Bool
scaleFloat :: Int -> Completed a -> Completed a
$cscaleFloat :: forall a. RealFloat a => Int -> Completed a -> Completed a
significand :: Completed a -> Completed a
$csignificand :: forall a. RealFloat a => Completed a -> Completed a
exponent :: Completed a -> Int
$cexponent :: forall a. RealFloat a => Completed a -> Int
encodeFloat :: Integer -> Int -> Completed a
$cencodeFloat :: forall a. RealFloat a => Integer -> Int -> Completed a
decodeFloat :: Completed a -> (Integer, Int)
$cdecodeFloat :: forall a. RealFloat a => Completed a -> (Integer, Int)
floatRange :: Completed a -> (Int, Int)
$cfloatRange :: forall a. RealFloat a => Completed a -> (Int, Int)
floatDigits :: Completed a -> Int
$cfloatDigits :: forall a. RealFloat a => Completed a -> Int
floatRadix :: Completed a -> Integer
$cfloatRadix :: forall a. RealFloat a => Completed a -> Integer
$cp2RealFloat :: forall a. RealFloat a => Floating (Completed a)
$cp1RealFloat :: forall a. RealFloat a => RealFrac (Completed a)
RealFloat
           , Fractional (Completed a)
Real (Completed a)
Real (Completed a)
-> Fractional (Completed a)
-> (forall b. Integral b => Completed a -> (b, Completed a))
-> (forall b. Integral b => Completed a -> b)
-> (forall b. Integral b => Completed a -> b)
-> (forall b. Integral b => Completed a -> b)
-> (forall b. Integral b => Completed a -> b)
-> RealFrac (Completed a)
Completed a -> b
Completed a -> b
Completed a -> b
Completed a -> b
Completed a -> (b, Completed a)
forall b. Integral b => Completed a -> b
forall b. Integral b => Completed a -> (b, Completed a)
forall a.
Real a
-> Fractional a
-> (forall b. Integral b => a -> (b, a))
-> (forall b. Integral b => a -> b)
-> (forall b. Integral b => a -> b)
-> (forall b. Integral b => a -> b)
-> (forall b. Integral b => a -> b)
-> RealFrac a
forall a. RealFrac a => Fractional (Completed a)
forall a. RealFrac a => Real (Completed a)
forall a b. (RealFrac a, Integral b) => Completed a -> b
forall a b.
(RealFrac a, Integral b) =>
Completed a -> (b, Completed a)
floor :: Completed a -> b
$cfloor :: forall a b. (RealFrac a, Integral b) => Completed a -> b
ceiling :: Completed a -> b
$cceiling :: forall a b. (RealFrac a, Integral b) => Completed a -> b
round :: Completed a -> b
$cround :: forall a b. (RealFrac a, Integral b) => Completed a -> b
truncate :: Completed a -> b
$ctruncate :: forall a b. (RealFrac a, Integral b) => Completed a -> b
properFraction :: Completed a -> (b, Completed a)
$cproperFraction :: forall a b.
(RealFrac a, Integral b) =>
Completed a -> (b, Completed a)
$cp2RealFrac :: forall a. RealFrac a => Fractional (Completed a)
$cp1RealFrac :: forall a. RealFrac a => Real (Completed a)
RealFrac
           , Ord (Completed a)
Ord (Completed a)
-> ((Completed a, Completed a) -> [Completed a])
-> ((Completed a, Completed a) -> Completed a -> Int)
-> ((Completed a, Completed a) -> Completed a -> Int)
-> ((Completed a, Completed a) -> Completed a -> Bool)
-> ((Completed a, Completed a) -> Int)
-> ((Completed a, Completed a) -> Int)
-> Ix (Completed a)
(Completed a, Completed a) -> Int
(Completed a, Completed a) -> [Completed a]
(Completed a, Completed a) -> Completed a -> Bool
(Completed a, Completed a) -> Completed a -> Int
forall a.
Ord a
-> ((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
forall a. Ix a => Ord (Completed a)
forall a. Ix a => (Completed a, Completed a) -> Int
forall a. Ix a => (Completed a, Completed a) -> [Completed a]
forall a. Ix a => (Completed a, Completed a) -> Completed a -> Bool
forall a. Ix a => (Completed a, Completed a) -> Completed a -> Int
unsafeRangeSize :: (Completed a, Completed a) -> Int
$cunsafeRangeSize :: forall a. Ix a => (Completed a, Completed a) -> Int
rangeSize :: (Completed a, Completed a) -> Int
$crangeSize :: forall a. Ix a => (Completed a, Completed a) -> Int
inRange :: (Completed a, Completed a) -> Completed a -> Bool
$cinRange :: forall a. Ix a => (Completed a, Completed a) -> Completed a -> Bool
unsafeIndex :: (Completed a, Completed a) -> Completed a -> Int
$cunsafeIndex :: forall a. Ix a => (Completed a, Completed a) -> Completed a -> Int
index :: (Completed a, Completed a) -> Completed a -> Int
$cindex :: forall a. Ix a => (Completed a, Completed a) -> Completed a -> Int
range :: (Completed a, Completed a) -> [Completed a]
$crange :: forall a. Ix a => (Completed a, Completed a) -> [Completed a]
$cp1Ix :: forall a. Ix a => Ord (Completed a)
Ix
           , String -> Completed a
(String -> Completed a) -> IsString (Completed a)
forall a. IsString a => String -> Completed a
forall a. (String -> a) -> IsString a
fromString :: String -> Completed a
$cfromString :: forall a. IsString a => String -> Completed a
IsString
           , Eq (Completed a)
Completed a
Eq (Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a -> Completed a)
-> (Completed a -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> Completed a
-> (Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Bool)
-> (Completed a -> Maybe Int)
-> (Completed a -> Int)
-> (Completed a -> Bool)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int -> Completed a)
-> (Completed a -> Int)
-> Bits (Completed a)
Int -> Completed a
Completed a -> Bool
Completed a -> Int
Completed a -> Maybe Int
Completed a -> Completed a
Completed a -> Int -> Bool
Completed a -> Int -> Completed a
Completed a -> Completed a -> Completed a
forall a.
Eq a
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
forall a. Bits a => Eq (Completed a)
forall a. Bits a => Completed a
forall a. Bits a => Int -> Completed a
forall a. Bits a => Completed a -> Bool
forall a. Bits a => Completed a -> Int
forall a. Bits a => Completed a -> Maybe Int
forall a. Bits a => Completed a -> Completed a
forall a. Bits a => Completed a -> Int -> Bool
forall a. Bits a => Completed a -> Int -> Completed a
forall a. Bits a => Completed a -> Completed a -> Completed a
popCount :: Completed a -> Int
$cpopCount :: forall a. Bits a => Completed a -> Int
rotateR :: Completed a -> Int -> Completed a
$crotateR :: forall a. Bits a => Completed a -> Int -> Completed a
rotateL :: Completed a -> Int -> Completed a
$crotateL :: forall a. Bits a => Completed a -> Int -> Completed a
unsafeShiftR :: Completed a -> Int -> Completed a
$cunsafeShiftR :: forall a. Bits a => Completed a -> Int -> Completed a
shiftR :: Completed a -> Int -> Completed a
$cshiftR :: forall a. Bits a => Completed a -> Int -> Completed a
unsafeShiftL :: Completed a -> Int -> Completed a
$cunsafeShiftL :: forall a. Bits a => Completed a -> Int -> Completed a
shiftL :: Completed a -> Int -> Completed a
$cshiftL :: forall a. Bits a => Completed a -> Int -> Completed a
isSigned :: Completed a -> Bool
$cisSigned :: forall a. Bits a => Completed a -> Bool
bitSize :: Completed a -> Int
$cbitSize :: forall a. Bits a => Completed a -> Int
bitSizeMaybe :: Completed a -> Maybe Int
$cbitSizeMaybe :: forall a. Bits a => Completed a -> Maybe Int
testBit :: Completed a -> Int -> Bool
$ctestBit :: forall a. Bits a => Completed a -> Int -> Bool
complementBit :: Completed a -> Int -> Completed a
$ccomplementBit :: forall a. Bits a => Completed a -> Int -> Completed a
clearBit :: Completed a -> Int -> Completed a
$cclearBit :: forall a. Bits a => Completed a -> Int -> Completed a
setBit :: Completed a -> Int -> Completed a
$csetBit :: forall a. Bits a => Completed a -> Int -> Completed a
bit :: Int -> Completed a
$cbit :: forall a. Bits a => Int -> Completed a
zeroBits :: Completed a
$czeroBits :: forall a. Bits a => Completed a
rotate :: Completed a -> Int -> Completed a
$crotate :: forall a. Bits a => Completed a -> Int -> Completed a
shift :: Completed a -> Int -> Completed a
$cshift :: forall a. Bits a => Completed a -> Int -> Completed a
complement :: Completed a -> Completed a
$ccomplement :: forall a. Bits a => Completed a -> Completed a
xor :: Completed a -> Completed a -> Completed a
$cxor :: forall a. Bits a => Completed a -> Completed a -> Completed a
.|. :: Completed a -> Completed a -> Completed a
$c.|. :: forall a. Bits a => Completed a -> Completed a -> Completed a
.&. :: Completed a -> Completed a -> Completed a
$c.&. :: forall a. Bits a => Completed a -> Completed a -> Completed a
$cp1Bits :: forall a. Bits a => Eq (Completed a)
Bits
           , Bits (Completed a)
Bits (Completed a)
-> (Completed a -> Int)
-> (Completed a -> Int)
-> (Completed a -> Int)
-> FiniteBits (Completed a)
Completed a -> Int
forall b.
Bits b -> (b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
forall a. FiniteBits a => Bits (Completed a)
forall a. FiniteBits a => Completed a -> Int
countTrailingZeros :: Completed a -> Int
$ccountTrailingZeros :: forall a. FiniteBits a => Completed a -> Int
countLeadingZeros :: Completed a -> Int
$ccountLeadingZeros :: forall a. FiniteBits a => Completed a -> Int
finiteBitSize :: Completed a -> Int
$cfiniteBitSize :: forall a. FiniteBits a => Completed a -> Int
$cp1FiniteBits :: forall a. FiniteBits a => Bits (Completed a)
FiniteBits
           )
  deriving ( (a -> b -> Bool) -> Completed a -> Completed b -> Bool
(forall a b.
 (a -> b -> Bool) -> Completed a -> Completed b -> Bool)
-> Eq1 Completed
forall a b. (a -> b -> Bool) -> Completed a -> Completed b -> Bool
forall (f :: * -> *).
(forall a b. (a -> b -> Bool) -> f a -> f b -> Bool) -> Eq1 f
liftEq :: (a -> b -> Bool) -> Completed a -> Completed b -> Bool
$cliftEq :: forall a b. (a -> b -> Bool) -> Completed a -> Completed b -> Bool
Eq1
           , Eq1 Completed
Eq1 Completed
-> (forall a b.
    (a -> b -> Ordering) -> Completed a -> Completed b -> Ordering)
-> Ord1 Completed
(a -> b -> Ordering) -> Completed a -> Completed b -> Ordering
forall a b.
(a -> b -> Ordering) -> Completed a -> Completed b -> Ordering
forall (f :: * -> *).
Eq1 f
-> (forall a b. (a -> b -> Ordering) -> f a -> f b -> Ordering)
-> Ord1 f
liftCompare :: (a -> b -> Ordering) -> Completed a -> Completed b -> Ordering
$cliftCompare :: forall a b.
(a -> b -> Ordering) -> Completed a -> Completed b -> Ordering
$cp1Ord1 :: Eq1 Completed
Ord1
           , ReadPrec a -> ReadPrec [a] -> ReadPrec (Completed a)
ReadPrec a -> ReadPrec [a] -> ReadPrec [Completed a]
(Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (Completed a)
(Int -> ReadS a) -> ReadS [a] -> ReadS [Completed a]
(forall a.
 (Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (Completed a))
-> (forall a. (Int -> ReadS a) -> ReadS [a] -> ReadS [Completed a])
-> (forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec (Completed a))
-> (forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec [Completed a])
-> Read1 Completed
forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec [Completed a]
forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec (Completed a)
forall a.
(Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (Completed a)
forall a. (Int -> ReadS a) -> ReadS [a] -> ReadS [Completed a]
forall (f :: * -> *).
(forall a. (Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (f a))
-> (forall a. (Int -> ReadS a) -> ReadS [a] -> ReadS [f a])
-> (forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec (f a))
-> (forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec [f a])
-> Read1 f
liftReadListPrec :: ReadPrec a -> ReadPrec [a] -> ReadPrec [Completed a]
$cliftReadListPrec :: forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec [Completed a]
liftReadPrec :: ReadPrec a -> ReadPrec [a] -> ReadPrec (Completed a)
$cliftReadPrec :: forall a. ReadPrec a -> ReadPrec [a] -> ReadPrec (Completed a)
liftReadList :: (Int -> ReadS a) -> ReadS [a] -> ReadS [Completed a]
$cliftReadList :: forall a. (Int -> ReadS a) -> ReadS [a] -> ReadS [Completed a]
liftReadsPrec :: (Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (Completed a)
$cliftReadsPrec :: forall a.
(Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (Completed a)
Read1
           , (Int -> a -> ShowS)
-> ([a] -> ShowS) -> Int -> Completed a -> ShowS
(Int -> a -> ShowS) -> ([a] -> ShowS) -> [Completed a] -> ShowS
(forall a.
 (Int -> a -> ShowS)
 -> ([a] -> ShowS) -> Int -> Completed a -> ShowS)
-> (forall a.
    (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Completed a] -> ShowS)
-> Show1 Completed
forall a.
(Int -> a -> ShowS)
-> ([a] -> ShowS) -> Int -> Completed a -> ShowS
forall a.
(Int -> a -> ShowS) -> ([a] -> ShowS) -> [Completed a] -> ShowS
forall (f :: * -> *).
(forall a.
 (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> f a -> ShowS)
-> (forall a.
    (Int -> a -> ShowS) -> ([a] -> ShowS) -> [f a] -> ShowS)
-> Show1 f
liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Completed a] -> ShowS
$cliftShowList :: forall a.
(Int -> a -> ShowS) -> ([a] -> ShowS) -> [Completed a] -> ShowS
liftShowsPrec :: (Int -> a -> ShowS)
-> ([a] -> ShowS) -> Int -> Completed a -> ShowS
$cliftShowsPrec :: forall a.
(Int -> a -> ShowS)
-> ([a] -> ShowS) -> Int -> Completed a -> ShowS
Show1
           , a -> Completed a
(forall a. a -> Completed a) -> Pointed Completed
forall a. a -> Completed a
forall (p :: * -> *). (forall a. a -> p a) -> Pointed p
point :: a -> Completed a
$cpoint :: forall a. a -> Completed a
Pointed
           , Completed a -> a
(forall a. Completed a -> a) -> Copointed Completed
forall a. Completed a -> a
forall (p :: * -> *). (forall a. p a -> a) -> Copointed p
copoint :: Completed a -> a
$ccopoint :: forall a. Completed a -> a
Copointed
           , Functor Completed
a -> Completed a
Functor Completed
-> (forall a. a -> Completed a)
-> (forall a b. Completed (a -> b) -> Completed a -> Completed b)
-> (forall a b c.
    (a -> b -> c) -> Completed a -> Completed b -> Completed c)
-> (forall a b. Completed a -> Completed b -> Completed b)
-> (forall a b. Completed a -> Completed b -> Completed a)
-> Applicative Completed
Completed a -> Completed b -> Completed b
Completed a -> Completed b -> Completed a
Completed (a -> b) -> Completed a -> Completed b
(a -> b -> c) -> Completed a -> Completed b -> Completed c
forall a. a -> Completed a
forall a b. Completed a -> Completed b -> Completed a
forall a b. Completed a -> Completed b -> Completed b
forall a b. Completed (a -> b) -> Completed a -> Completed b
forall a b c.
(a -> b -> c) -> Completed a -> Completed b -> Completed c
forall (f :: * -> *).
Functor f
-> (forall a. a -> f a)
-> (forall a b. f (a -> b) -> f a -> f b)
-> (forall a b c. (a -> b -> c) -> f a -> f b -> f c)
-> (forall a b. f a -> f b -> f b)
-> (forall a b. f a -> f b -> f a)
-> Applicative f
<* :: Completed a -> Completed b -> Completed a
$c<* :: forall a b. Completed a -> Completed b -> Completed a
*> :: Completed a -> Completed b -> Completed b
$c*> :: forall a b. Completed a -> Completed b -> Completed b
liftA2 :: (a -> b -> c) -> Completed a -> Completed b -> Completed c
$cliftA2 :: forall a b c.
(a -> b -> c) -> Completed a -> Completed b -> Completed c
<*> :: Completed (a -> b) -> Completed a -> Completed b
$c<*> :: forall a b. Completed (a -> b) -> Completed a -> Completed b
pure :: a -> Completed a
$cpure :: forall a. a -> Completed a
$cp1Applicative :: Functor Completed
Applicative
           , Monad Completed
Monad Completed
-> (forall a. (a -> Completed a) -> Completed a)
-> MonadFix Completed
(a -> Completed a) -> Completed a
forall a. (a -> Completed a) -> Completed a
forall (m :: * -> *).
Monad m -> (forall a. (a -> m a) -> m a) -> MonadFix m
mfix :: (a -> Completed a) -> Completed a
$cmfix :: forall a. (a -> Completed a) -> Completed a
$cp1MonadFix :: Monad Completed
MonadFix
           , Applicative Completed
a -> Completed a
Applicative Completed
-> (forall a b. Completed a -> (a -> Completed b) -> Completed b)
-> (forall a b. Completed a -> Completed b -> Completed b)
-> (forall a. a -> Completed a)
-> Monad Completed
Completed a -> (a -> Completed b) -> Completed b
Completed a -> Completed b -> Completed b
forall a. a -> Completed a
forall a b. Completed a -> Completed b -> Completed b
forall a b. Completed a -> (a -> Completed b) -> Completed b
forall (m :: * -> *).
Applicative m
-> (forall a b. m a -> (a -> m b) -> m b)
-> (forall a b. m a -> m b -> m b)
-> (forall a. a -> m a)
-> Monad m
return :: a -> Completed a
$creturn :: forall a. a -> Completed a
>> :: Completed a -> Completed b -> Completed b
$c>> :: forall a b. Completed a -> Completed b -> Completed b
>>= :: Completed a -> (a -> Completed b) -> Completed b
$c>>= :: forall a b. Completed a -> (a -> Completed b) -> Completed b
$cp1Monad :: Applicative Completed
Monad
           , Monad Completed
Monad Completed
-> (forall a b. Completed a -> Completed b -> Completed (a, b))
-> (forall a b c.
    (a -> b -> c) -> Completed a -> Completed b -> Completed c)
-> (forall a b. Completed (a, b) -> (Completed a, Completed b))
-> MonadZip Completed
Completed a -> Completed b -> Completed (a, b)
Completed (a, b) -> (Completed a, Completed b)
(a -> b -> c) -> Completed a -> Completed b -> Completed c
forall a b. Completed a -> Completed b -> Completed (a, b)
forall a b. Completed (a, b) -> (Completed a, Completed b)
forall a b c.
(a -> b -> c) -> Completed a -> Completed b -> Completed c
forall (m :: * -> *).
Monad m
-> (forall a b. m a -> m b -> m (a, b))
-> (forall a b c. (a -> b -> c) -> m a -> m b -> m c)
-> (forall a b. m (a, b) -> (m a, m b))
-> MonadZip m
munzip :: Completed (a, b) -> (Completed a, Completed b)
$cmunzip :: forall a b. Completed (a, b) -> (Completed a, Completed b)
mzipWith :: (a -> b -> c) -> Completed a -> Completed b -> Completed c
$cmzipWith :: forall a b c.
(a -> b -> c) -> Completed a -> Completed b -> Completed c
mzip :: Completed a -> Completed b -> Completed (a, b)
$cmzip :: forall a b. Completed a -> Completed b -> Completed (a, b)
$cp1MonadZip :: Monad Completed
MonadZip

           )
           via Identity

_theCompleted :: Completed x -> x
_theCompleted :: Completed x -> x
_theCompleted (Completed !x
x) = x
x
{-# INLINE _theCompleted #-}

theCompleted :: forall a b p f. (Profunctor p, Functor f) => p a (f b) -> p (Completed a) (f (Completed b))
theCompleted :: p a (f b) -> p (Completed a) (f (Completed b))
theCompleted = (Completed a -> a)
-> (f b -> f (Completed b))
-> p a (f b)
-> p (Completed a) (f (Completed b))
forall (p :: * -> * -> *) a b c d.
Profunctor p =>
(a -> b) -> (c -> d) -> p b c -> p a d
dimap Completed a -> a
forall a. Completed a -> a
_theCompleted ((b -> Completed b) -> f b -> f (Completed b)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap b -> Completed b
forall a. a -> Completed a
Completed)
{-# INLINE theCompleted #-}