Constraints to be applied on option
Depth identifier can be used to share the current depth between several instances.
By default, if not specified, each instance of option will have its own depth. In other words: you can have depth=1 in one while you have depth=100 in another one.
While going deeper and deeper within a recursive structure (see letrec), this factor will be used to increase the probability to generate nil.
The probability to build a nil value is of
1 / freq
Maximal authorized depth. Once this depth has been reached only nil will be used.
Number.POSITIVE_INFINITY — defaulting seen as "max non specified" when
The nil value
Generated using TypeDoc