Enumerations

The following enumerations are available globally.

  • Utility optics over tuples of arity 9.

    See more

    Declaration

    Swift

    public enum Tuple10<A, B, C, D, E, F, G, H, I, J>
  • Utility optics over tuples of arity 2.

    See more

    Declaration

    Swift

    public enum Tuple2<A, B>
  • Utility optics over tuples of arity 3.

    See more

    Declaration

    Swift

    public enum Tuple3<A, B, C>
  • Utility optics over tuples of arity 4.

    See more

    Declaration

    Swift

    public enum Tuple4<A, B, C, D>
  • Utility optics over tuples of arity 5.

    See more

    Declaration

    Swift

    public enum Tuple5<A, B, C, D, E>
  • Utility optics over tuples of arity 6.

    See more

    Declaration

    Swift

    public enum Tuple6<A, B, C, D, E, F>
  • Utility optics over tuples of arity 7.

    See more

    Declaration

    Swift

    public enum Tuple7<A, B, C, D, E, F, G>
  • Utility optics over tuples of arity 8.

    See more

    Declaration

    Swift

    public enum Tuple8<A, B, C, D, E, F, G, H>
  • Utility optics over tuples of arity 9.

    See more

    Declaration

    Swift

    public enum Tuple9<A, B, C, D, E, F, G, H, I>
  • Models errors that can happen during IO evaluation.

    • timeout: The evaluation of the IO produced a timeout.
    See more

    Declaration

    Swift

    public enum IOError : Error
  • A single error. This is a workaround over not being able to make Void conform to Error.

    See more

    Declaration

    Swift

    public enum Unit : Error
  • Utilities to read and write to the standard input/output in a functional manner.

    See more

    Declaration

    Swift

    public enum ConsoleIO
  • Describes the outcome of an operation on a resource.

    • completed: The operation was completed successfully.
    • canceled: The operation was canceled.
    • error: The operation finished with an error.
    See more

    Declaration

    Swift

    public enum ExitCase<E>
  • Models the side that is selected in a Sum.

    See more

    Declaration

    Swift

    public enum Side
  • Models an error in an invocation to some methods of Try.

    • illegalState: The value is in an illegal state when an operation is invoked.
    • predicateDoesNotMatch: The value does not match the provided predicate.
    • unsupportedOperation: The invoked operation is unsupported for the value receiving it.
    See more

    Declaration

    Swift

    public enum TryError : Error