Type Aliases
The following type aliases are available globally.
-
AffineTraversal is a type alias for
PAffineTraversal
which fixes the type arguments and restricts thePAffineTraversal
to monomorphic updates.Declaration
Swift
public typealias AffineTraversal<S, A> = PAffineTraversal<S, S, A, A>
-
Prism is a type alias for PPrism which fixes the type arguments and restricts the PPrism to monomorphic updates.
Declaration
Swift
public typealias Prism<S, A> = PPrism<S, S, A, A>
-
Traversal is a type alias for PTraversal which fixes the type arguments and restricts the PTraversal to monomorphic updates.
Declaration
Swift
public typealias Traversal<S, A> = PTraversal<S, S, A, A>
-
Undocumented
Declaration
Swift
public typealias FixPartial = ForFix
-
Undocumented
Declaration
Swift
public typealias MuPartial = ForMu
-
Undocumented
Declaration
Swift
public typealias NuPartial = ForNu
-
Higher Kinded Type alias to improve readability over
Kind10
.Declaration
Swift
public typealias Coproduct10Of<A, B, C, D, E, F, G, H, I, J> = Kind10<ForCoproduct10, A, B, C, D, E, F, G, H, I, J>
-
Higher Kinded Type alias to improve readability over
Kind2
.Declaration
Swift
public typealias Coproduct2Of<A, B> = Kind2<ForCoproduct2, A, B>
-
Higher Kinded Type alias to improve readability over
Kind3
.Declaration
Swift
public typealias Coproduct3Of<A, B, C> = Kind3<ForCoproduct3, A, B, C>
-
Higher Kinded Type alias to improve readability over
Kind4
.Declaration
Swift
public typealias Coproduct4Of<A, B, C, D> = Kind4<ForCoproduct4, A, B, C, D>
-
Higher Kinded Type alias to improve readability over
Kind5
.Declaration
Swift
public typealias Coproduct5Of<A, B, C, D, E> = Kind5<ForCoproduct5, A, B, C, D, E>
-
Higher Kinded Type alias to improve readability over
Kind6
.Declaration
Swift
public typealias Coproduct6Of<A, B, C, D, E, F> = Kind6<ForCoproduct6, A, B, C, D, E, F>
-
Higher Kinded Type alias to improve readability over
Kind7
.Declaration
Swift
public typealias Coproduct7Of<A, B, C, D, E, F, G> = Kind7<ForCoproduct7, A, B, C, D, E, F, G>
-
Higher Kinded Type alias to improve readability over
Kind8
.Declaration
Swift
public typealias Coproduct8Of<A, B, C, D, E, F, G, H> = Kind8<ForCoproduct8, A, B, C, D, E, F, G, H>
-
Higher Kinded Type alias to improve readability over
Kind9
.Declaration
Swift
public typealias Coproduct9Of<A, B, C, D, E, F, G, H, I> = Kind9<ForCoproduct9, A, B, C, D, E, F, G, H, I>
-
Higher Kinded Type alias to improve readability.
Declaration
Swift
public typealias CofreeOf<F, A> = Kind<CofreePartial<F>, A> where F : Functor
-
Higher Kinded Type alias to improve readability.
Declaration
Swift
public typealias FreeOf<F, A> = Kind<FreePartial<F>, A> where F : Functor
-
Higher Kinded Type alias to improve readability.
Declaration
Swift
public typealias ProgramOf<F, A> = Kind<ProgramPartial<F>, A>
-
Partial application of the
EnvIO
type constructor, omitting the last type parameter.Declaration
Swift
public typealias EnvIOPartial<D, E> = KleisliPartial<IOPartial<E>, D> where E : Error
-
EnvIO is a data type to perform IO operations that produce errors of type
E
and values of typeA
, having access to an immutable environment of typeD
. It can be seen as a Kleisli function(D) -> IO<E, A>
. -
Partial application of the EnvIO data type, omitting the last parameter.
Declaration
Swift
public typealias RIOPartial<D> = EnvIOPartial<D, Error>
-
A RIO is a data type like EnvIO with no explicit error type, resorting to the
Error
protocol to handle them.Declaration
Swift
public typealias RIO<D, A> = EnvIO<D, Error, A>
-
Partial application of the URIO data type, omitting the last parameter.
Declaration
Swift
public typealias URIOPartial<D> = EnvIOPartial<D, Never>
-
An URIO is a data type like EnvIO that never fails; i.e. it never produces errors.
Declaration
Swift
public typealias URIO<D, A> = EnvIO<D, Never, A>
-
EnvIORef is an asynchronous, concurrent, mutable reference backed by EnvIO, holding a value of type A. Provides safe concurrent access and modification of its content.
Declaration
Swift
public typealias EnvIORef<D, E, A> = Ref<EnvIOPartial<D, E>, A> where E : Error
-
Higher Kinded Type alias to improve readability of Kind
, A> Declaration
Swift
public typealias ResourceOf<F, A> = Kind<ResourcePartial<F>, A> where F : Bracket
-
Describes a function to cancel an effect
Declaration
Swift
public typealias Disposable = () -> Void
-
Partial application of the MaybeK type constructor, omitting the last type parameter.
Declaration
Swift
public typealias MaybeKPartial = ForMaybeK
-
Partial application of the ObservableK type constructor, omitting the last type parameter.
Declaration
Swift
public typealias ObservableKPartial = ForObservableK
-
Higher Kinded Type alias to improve readability over
Kind<ForObservableK, A>
.Declaration
Swift
public typealias ObservableKOf<A> = Kind<ForObservableK, A>
-
Partial application of the SingleK type constructor, omitting the last type parameter.
Declaration
Swift
public typealias SingleKPartial = ForSingleK
-
Higher Kinded Type alias to improve readability over
Kind<ForSingleK, A>
.Declaration
Swift
public typealias SingleKOf<A> = Kind<ForSingleK, A>
-
Higher Kinded Type alias to improve readability over
Kind<CokleisliPartial<F, A>, B>
.Declaration
Swift
public typealias CokleisliOf<F, A, B> = Kind<CokleisliPartial<F, A>, B>
-
Alias over
Cokleisli<F, A, B>
.Declaration
Swift
public typealias CoreaderT<F, A, B> = Cokleisli<F, A, B>
-
Partial application of the Function0 type constructor, omitting the last type parameter.
Declaration
Swift
public typealias Function0Partial = ForFunction0
-
Higher Kinded Type alias to improve readability of
Kind<ForFunction0, A>
.Declaration
Swift
public typealias Function0Of<A> = Kind<ForFunction0, A>
-
Higher Kinded Type alias to improve readability of
Kind<Function1Partial<I>, O>
.Declaration
Swift
public typealias Function1Of<I, O> = Kind<Function1Partial<I>, O>
-
Higher Kinded Type alias to improve readability over
Kind<KleisliPartial<F, D>, A>
.Declaration
Swift
public typealias KleisliOf<F, D, A> = Kind<KleisliPartial<F, D>, A>
-
Alias over
Kleisli<F, D, A>
.Declaration
Swift
public typealias ReaderT<F, D, A> = Kleisli<F, D, A>
-
Alias over
KleisliPartial<F, D>
Declaration
Swift
public typealias ReaderTPartial<F, D> = KleisliPartial<F, D>
-
Higher Kinded Type alias to improve readability of
Kind<LazyFunction1Partial<I>, O>
.Declaration
Swift
public typealias LazyFunction1Of<I, O> = Kind<LazyFunction1Partial<I>, O>
-
Action is the dual pairing Monad of Moore, obtained automatically using the Co type.
Declaration
Swift
public typealias Action<I, A> = Co<MoorePartial<I>, A>
-
Higher Kinded Type alias to improve readability of
CoOf<MoorePartial<I>, A>
.Declaration
Swift
public typealias ActionOf<I, A> = CoOf<MoorePartial<I>, A>
-
Witness for the
Action<I, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForAction = ForCo
-
Partial application of the Action type constructor, omitting the last parameter.
Declaration
Swift
public typealias ActionPartial<I> = CoPartial<MoorePartial<I>>
-
Partial application of the ArrayK type constructor, omitting the last type parameter.
Declaration
Swift
public typealias ArrayKPartial = ForArrayK
-
Higher Kinded Type alias to improve readability of
Kind<CoTPartial<W, M>, A>
.Declaration
Swift
public typealias CoTOf<W, M, A> = Kind<CoTPartial<W, M>, A> where W : Comonad
-
Witness for the
Co<W, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForCo = ForCoT
-
Partial application of the Co type constructor, omitting the last parameter.
Declaration
Swift
public typealias CoPartial<W> = CoTPartial<W, ForId> where W : Comonad
-
Partial application of the CoSum type constructor, omitting the last parameter.
Declaration
Swift
public typealias CoSumPartial<F, G> = CoPartial<SumPartial<F, G>> where F : Comonad, G : Comonad
-
Higher Kinded Type alias to improve readability of
CoOf<SumPartial<F, G>, A>
.Declaration
Swift
public typealias CoSumOf<F, G, A> = CoOf<SumPartial<F, G>, A> where F : Comonad, G : Comonad
-
CoSum is the dual Monad of the Sum Comonad, obtained automatically from the Co data type.
Declaration
Swift
public typealias CoSum<F, G, A> = Co<SumPartial<F, G>, A> where F : Comonad, G : Comonad
-
Partial application of the CoSumOpt type constructor, omitting the last parameter.
Declaration
Swift
public typealias CoSumOptPartial<G> = CoSumPartial<ForId, G> where G : Comonad
-
Higher Kinded Type alias to improve readability over
Kind<ConstPartial<A>, T>
Declaration
Swift
public typealias ConstOf<A, T> = Kind<ConstPartial<A>, T>
-
Higher Kinded Type alias to improve readability.
Declaration
Swift
public typealias CoyonedaOf<F, A> = Kind<CoyonedaPartial<F>, A>
-
Higher Kinded Type alias to improve readability of
Kind<DayPartial<F, G>, A>
.Declaration
Swift
public typealias DayOf<F, G, A> = Kind<DayPartial<F, G>, A> where F : Comonad, G : Comonad
-
Higher Kinded Type alias to improve readability over
Kind<DictionaryKPartial<K>, A>
Declaration
Swift
public typealias DictionaryKOf<K, A> = Kind<DictionaryKPartial<K>, A> where K : Hashable
-
Higher Kinded Type alias to improve readability over
Kind2<ForEither, A, B>
Declaration
Swift
public typealias EitherOf<A, B> = Kind<EitherPartial<A>, B>
-
Higher Kinded Type alias to improve readability over
Kind<EitherKPartial<F, G>, A>
.Declaration
Swift
public typealias EitherKOf<F, G, A> = Kind<EitherKPartial<F, G>, A>
-
Partial application of the Endo type constructor, omitting the last type parameter.
Declaration
Swift
public typealias EndoPartial = ForEndo
-
Partial application of the Eval type constructor, omitting the last type parameter.
Declaration
Swift
public typealias EvalPartial = ForEval
-
Partial application of the Id type constructor, omitting the last type parameter.
Declaration
Swift
public typealias IdPartial = ForId
-
Higher Kinded Type alias to improve readability over
Kind<IorPartial<A>, B>
.Declaration
Swift
public typealias IorOf<A, B> = Kind<IorPartial<A>, B>
-
Higher Kinded Type alias to improve readability of
Kind<MoorePartial<E>, V>
.Declaration
Swift
public typealias MooreOf<E, V> = Kind<MoorePartial<E>, V>
-
Partial application of the NonEmptyArray type constructor, omitting the last type parameter.
Declaration
Swift
public typealias NonEmptyArrayPartial = ForNonEmptyArray
-
Higher Kinded Type alias to improve readability over
Kind<ForNonEmptyArray, A>
.Declaration
Swift
public typealias NonEmptyArrayOf<A> = Kind<ForNonEmptyArray, A>
-
Abbreviation for
NonEmptyArray
.Declaration
Swift
public typealias NEA<A> = NonEmptyArray<A>
-
Abbrebiation for
NonEmptyArrayPartial
.Declaration
Swift
public typealias NEAPartial = NonEmptyArrayPartial
-
Partial application of the Option type constructor, omitting the last type parameter.
Declaration
Swift
public typealias OptionPartial = ForOption
-
Higher Kinded Type alias to improve readability over
Kind<PairKPartial<F, G>, A>
.Declaration
Swift
public typealias PairKOf<F, G, A> = Kind<PairKPartial<F, G>, A>
-
Higher Kinded Type alias to improve readability of
Kind<PairingPartial<F>, G>
.Declaration
Swift
public typealias PairingOf<F, G> = Kind<PairingPartial<F>, G> where F : Functor, G : Functor
-
Partial application of the Puller type constructor, omitting the last type parameter.
Declaration
Swift
public typealias PullerPartial = ForPuller
-
Alias over
ReaderTPartial<ForId, D>
Declaration
Swift
public typealias ReaderPartial<D> = ReaderTPartial<ForId, D>
-
Partial application of the SetK type constructor, omitting the last type parameter.
Declaration
Swift
public typealias SetKPartial = ForSetK
-
Higher Kinded Type alias to improve readability of
Kind<SumPartial<F, G>, V>
.Declaration
Swift
public typealias SumOf<F, G, V> = Kind<SumPartial<F, G>, V>
-
Witness for the
SumOpt<G, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForSumOpt = ForSum
-
Partial application of the SumOpt type constructor, omitting the last parameter.
Declaration
Swift
public typealias SumOptPartial<G> = SumPartial<ForId, G>
-
Partial application of the Trampoline type constructor, omitting the last type parameter.
Declaration
Swift
public typealias TrampolinePartial = ForTrampoline
-
Higher Kinded Type alias to improve readability over
Kind<ForTrampoline, A>
Declaration
Swift
public typealias TrampolineOf<A> = Kind<ForTrampoline, A>
-
Partial application of the Tree type constructor, omitting the last type parameter.
Declaration
Swift
public typealias TreePartial = ForTree
-
Partial application of the Try type constructor, omitting the last type parameter.
Declaration
Swift
public typealias TryPartial = ForTry
-
Higher Kinded Type alias to improve readability over
Kind<ValidatedPartial<E>, A>
.Declaration
Swift
public typealias ValidatedOf<E, A> = Kind<ValidatedPartial<E>, A>
-
Alias for a
Validated
where the invalid case is aNonEmptyArray
.
-
Higher Kinded Type alias to improve readability-
Declaration
Swift
public typealias YonedaOf<F, A> = Kind<YonedaPartial<F>, A> where F : Functor
-
Partial application of the Zipper type constructor, omitting the last type parameter.
Declaration
Swift
public typealias ZipperPartial = ForZipper
-
Simulates a Higher-Kinded Type in Swift with 2 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind2<F, A, B>
is an alias forF<A, B>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 3 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind3<F, A, B, C>
is an alias forF<A, B, C>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 4 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind4<F, A, B, C, D>
is an alias forF<A, B, C, D>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 5 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind5<F, A, B, C, D, E>
is an alias forF<A, B, C, D, E>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 6 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind6<F, A, B, C, D, E, G>
is an alias forF<A, B, C, D, E, G>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 7 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind7<F, A, B, C, D, E, G, H>
is an alias forF<A, B, C, D, E, G, H>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 8 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind8<F, A, B, C, D, E, G, H, I>
is an alias forF<A, B, C, D, E, G, H, I>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 9 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind9<F, A, B, C, D, E, G, H, I, J>
is an alias forF<A, B, C, D, E, G, H, I, J>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
. -
Simulates a Higher-Kinded Type in Swift with 10 type arguments.
This class simulates Higher-Kinded Type support in Swift.
Kind10<F, A, B, C, D, E, G, H, I, J, K>
is an alias forF<A, B, C, D, E, G, H, I, J, K>
, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameterF
is reserved for a witness to prevent circular references in the inheritance relationship. By convention, witnesses are named like the class they represent, with the prefixFor
.
-
Higher Kinded Type alias to improve readability over
Kind<EitherTPartial<F, A>, B>
.Declaration
Swift
public typealias EitherTOf<F, A, B> = Kind<EitherTPartial<F, A>, B>
-
Higher Kinded Type alias to improve readability of
Kind<EnvTPartial<E, W>, A>
.Declaration
Swift
public typealias EnvTOf<E, W, A> = Kind<EnvTPartial<E, W>, A>
-
Witness for the
Env<E, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForEnv = ForEnvT
-
Partial application of the
Env
type constructor, omitting the last parameter.Declaration
Swift
public typealias EnvPartial<E> = EnvTPartial<E, ForId>
-
Higher Kinded Type alias to improve readability over
Kind<OptionTPartial<F>, A>
Declaration
Swift
public typealias OptionTOf<F, A> = Kind<OptionTPartial<F>, A>
-
Higher Kinded Type alias to improve readability over
Kind<StateTPartial<F, S>, A>
Declaration
Swift
public typealias StateTOf<F, S, A> = Kind<StateTPartial<F, S>, A>
-
Witness for the
State<S, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForState = ForStateT
-
Partial application of the
StateT
type constructor, omitting the last parameter.Declaration
Swift
public typealias StatePartial<S> = StateTPartial<ForId, S>
-
Higher Kinded Type alias to improve readability of
Kind<StoreTPartial<S, W>, A>
.Declaration
Swift
public typealias StoreTOf<S, W, A> = Kind<StoreTPartial<S, W>, A>
-
Witness for the
Store<S, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForStore = ForStoreT
-
Partial application of the
Store
type constructor, omitting the last parameter.Declaration
Swift
public typealias StorePartial<S> = StoreTPartial<S, ForId>
-
Higher Kinded Type alias to improve readability of
Kind<TracedTPartial<M, W>, A>
.Declaration
Swift
public typealias TracedTOf<M, W, A> = Kind<TracedTPartial<M, W>, A>
-
Witness for the
Traced<M, A>
data type. To be used in simulated Higher Kinded Types.Declaration
Swift
public typealias ForTraced = ForTracedT
-
Partial application of the
Traced
type constructor, omitting the last parameter.Declaration
Swift
public typealias TracedPartial<M> = TracedTPartial<M, ForId>
-
Higher Kinded Type alias to improve readability over
Kind<WriterTPartial<F, W>, A>
.Declaration
Swift
public typealias WriterTOf<F, W, A> = Kind<WriterTPartial<F, W>, A>
-
Partial application of the Writer type constructor, omitting the last parameter.
Declaration
Swift
public typealias WriterPartial<W> = WriterTPartial<ForId, W>
-
Partial application of the Pair type constructor, omitting the last parameter.
Declaration
Swift
public typealias PairPartial<A> = WriterPartial<A>
-
Higher Kinded Type alias to improve readability over
Kind<PairPartial<W>, A>
.Declaration
Swift
public typealias PairOf<A, B> = WriterOf<A, B>
-
Product type of
A
andB
. Hols a value ofA
and a value ofB
.Pair
is a typealias of Writer.Declaration
Swift
public typealias Pair<A, B> = Writer<A, B>