Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Solo is the singleton tuple data type.
Instances
Monad Solo | |
Functor Solo | |
MonadFix Solo | |
Defined in Data.Tuple.Solo | |
Applicative Solo | |
Foldable Solo | |
Defined in Data.Tuple.Solo fold :: Monoid m => Solo m -> m # foldMap :: Monoid m => (a -> m) -> Solo a -> m # foldMap' :: Monoid m => (a -> m) -> Solo a -> m # foldr :: (a -> b -> b) -> b -> Solo a -> b # foldr' :: (a -> b -> b) -> b -> Solo a -> b # foldl :: (b -> a -> b) -> b -> Solo a -> b # foldl' :: (b -> a -> b) -> b -> Solo a -> b # foldr1 :: (a -> a -> a) -> Solo a -> a # foldl1 :: (a -> a -> a) -> Solo a -> a # elem :: Eq a => a -> Solo a -> Bool # maximum :: Ord a => Solo a -> a # | |
Traversable Solo | |
Eq1 Solo | |
Ord1 Solo | |
Defined in Data.Tuple.Solo | |
Read1 Solo | |
Show1 Solo | |
MonadZip Solo | |
Bounded a => Bounded (Solo a) | |
Enum a => Enum (Solo a) | |
Defined in Data.Tuple.Solo | |
Eq a => Eq (Solo a) | |
Data a => Data (Solo a) | |
Defined in Data.Tuple.Solo gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Solo a -> c (Solo a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Solo a) # toConstr :: Solo a -> Constr # dataTypeOf :: Solo a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Solo a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Solo a)) # gmapT :: (forall b. Data b => b -> b) -> Solo a -> Solo a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Solo a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Solo a -> r # gmapQ :: (forall d. Data d => d -> u) -> Solo a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Solo a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Solo a -> m (Solo a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Solo a -> m (Solo a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Solo a -> m (Solo a) # | |
Ord a => Ord (Solo a) | |
Read a => Read (Solo a) | |
Show a => Show (Solo a) | |
Ix a => Ix (Solo a) | |
Generic (Solo a) | |
Semigroup a => Semigroup (Solo a) | |
Monoid a => Monoid (Solo a) | |
Generic1 Solo | |
type Rep (Solo a) | |
Defined in Data.Tuple.Solo | |
type Rep1 Solo | |
Defined in Data.Tuple.Solo |