Package fj.function

Interface Try0<A,​Z extends java.lang.Exception>

  • All Known Subinterfaces:
    IO<A>, SafeIO<A>

    public interface Try0<A,​Z extends java.lang.Exception>
    A product of A which may throw an Exception. Used to instantiate a lambda that may throw an Exception before converting to a P1.
    See Also:
    Try.f(Try0)
    • Method Detail

      • f

        A f()
        throws Z extends java.lang.Exception
        Throws:
        Z extends java.lang.Exception
      • toEffect0

        default Effect0 toEffect0()