Class Bottom
java.lang.Object
fj.Bottom
Represents the bottom _|_ value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A> ErrorRepresents a deconstruction failure that was non-exhaustive.static <A> ErrorRepresents a deconstruction failure that was non-exhaustive.eMessage()A function that returns thegetMessagefor a throwable.static ErrorReturns an error to represent undefinedness in a computation with early failure using the given message.static <A> P1<A> Provides a thunk that throws an error using the given message when evaluated.static <A,B> F <A, B> Provides a function that throws an error using the given message, ignoring its argument.A function that returns thetoStringfor a throwable.static ErrorReturns an error to represent undefinedness in a computation.
-
Constructor Details
-
Bottom
private Bottom()
-
-
Method Details
-
undefined
Returns an error to represent undefinedness in a computation.- Returns:
- An error to represent undefinedness in a computation.
-
error
-
error_
-
errorF
-
decons
-
decons
-
eToString
-
eMessage
-