zio.prelude.SafeFunction
See theSafeFunction companion object
final class SafeFunction[-In, +Out] extends In => Out
A SafeFunction
is a function that can be freely composed with the guarantee that functions of arbitrary size can be evaluated in constant stack space. It does this by maintaining each of the composed functions internally in a data structure and evaluating them in a loop when the function is called.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait In => Outclass Objecttrait Matchableclass Any
- Self type
-
Members list
In this article