Type Aliases

The following type aliases are available globally.

  • Undocumented

    Declaration

    Swift

    public typealias PIsoOf<S, T, A, B> = Kind<PIsoPartial<S, T, A>, B>
  • Iso

    Undocumented

    Declaration

    Swift

    public typealias Iso<S, A> = PIso<S, S, A, A>
  • Undocumented

    Declaration

    Swift

    public typealias ForIso = ForPIso
  • Undocumented

    Declaration

    Swift

    public typealias IsoOf<S, A> = PIsoOf<S, S, A, A>
  • Undocumented

    Declaration

    Swift

    public typealias IsoPartial<S> = Kind<ForIso, S>
  • Undocumented

    Declaration

    Swift

    public typealias PLensOf<S, T, A, B> = Kind<PLensPartial<S, T, A>, B>
  • Undocumented

    Declaration

    Swift

    public typealias Lens<S, A> = PLens<S, S, A, A>
  • Undocumented

    Declaration

    Swift

    public typealias ForLens = ForPLens
  • Undocumented

    Declaration

    Swift

    public typealias LensPartial<S> = Kind<ForLens, S>
  • Undocumented

    Declaration

    Swift

    public typealias FixOf<A> = Kind<ForFix, A>
  • Undocumented

    Declaration

    Swift

    public typealias MuOf<F> = Kind<ForMu, F>
  • Undocumented

    Declaration

    Swift

    public typealias NuOf<F> = Kind<ForNu, F>
  • Undocumented

    Declaration

    Swift

    public typealias Algebra<F, A> = (Kind<F, A>) -> A
  • Undocumented

    Declaration

    Swift

    public typealias Coalgebra<F, A> = (A) -> Kind<F, A>
  • Undocumented

    Declaration

    Swift

    public typealias AnyFunc = (AnyObject) -> AnyObject
  • Undocumented

    Declaration

    Swift

    public typealias CoyonedaOf<F, P, A> = Kind<CoyonedaPartial<F, P>, A>
  • Undocumented

    Declaration

    Swift

    public typealias IOOf<E, A> = Kind<IOPartial<E>, A>
  • Undocumented

    Declaration

    Swift

    public typealias Proc<E, A> = (Callback<E, A>) throws -> ()
  • Undocumented

    Declaration

    Swift

    public typealias Callback<E, A> = (Either<E, A>) -> ()
  • Undocumented

    Declaration

    Swift

    public typealias Disposable = () -> ()
  • Undocumented

    Declaration

    Swift

    public typealias DayOf<F, G, A> = Kind<DayPartial<F, G>, A>
  • Higher Kinded Type alias to improve readability over Kind2<ForEither, A, B>

    Declaration

    Swift

    public typealias EitherOf<A, B> = Kind<EitherPartial<A>, B>
  • Undocumented

    Declaration

    Swift

    public typealias EvalOf<A> = Kind<ForEval, A>
  • Higher Kinded Type alias to improve readability of Kind<ForId, A>.

    Declaration

    Swift

    public typealias IdOf<A> = Kind<ForId, A>
  • Higher Kinded Type alias to improve readability of Kind<ForOption, A>.

    Declaration

    Swift

    public typealias OptionOf<A> = Kind<ForOption, A>
  • Undocumented

    Declaration

    Swift

    public typealias Reader<D, A> = ReaderT<ForId, D, A>
  • Undocumented

    Declaration

    Swift

    public typealias SetKOf<A> = Kind<ForSetK, A>
  • Undocumented

    Declaration

    Swift

    public typealias SumOf<F, G, V> = Kind<SumPartial<F, G>, V>
  • Undocumented

    Declaration

    Swift

    public typealias TryOf<A> = Kind<ForTry, A>
  • 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 for F<A, B>, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameter F 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 prefix For.

    Declaration

    Swift

    public typealias Kind2<F, A, B> = Kind<Kind<F, A>, B>
  • 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 for F<A, B, C>, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameter F 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 prefix For.

    Declaration

    Swift

    public typealias Kind3<F, A, B, C> = Kind<Kind2<F, A, B>, C>
  • 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 for F<A, B, C, D>, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameter F 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 prefix For.

    Declaration

    Swift

    public typealias Kind4<F, A, B, C, D> = Kind<Kind3<F, A, B, C>, D>
  • 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 for F<A, B, C, D, E>, which is not syntactically valid in Swift. Classes that want to have HKT support must extend this class. Type parameter F 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 prefix For.

    Declaration

    Swift

    public typealias Kind5<F, A, B, C, D, E> = Kind<Kind4<F, A, B, C, D>, E>
  • Undocumented

    Declaration

    Swift

    public typealias Unit = ()