hedgehog.predef
We have our own FP predef for 2 reasons.
- The obvious political reasons. I don't think there are any really good reasons to need more than one implementation of this library (if we do our job correctly).
Probably more importantly:
- Library dependencies do have a cost. Especially in the JVM world where we insist of relying on binary compatibility.
Type members
Classlikes
Convenience syntax for Applicative
usage.
Convenience syntax for Applicative
usage.
Please forgive the use of overloading here, which avoids having to have an ApplicativeBuilder
.
Operations that are unfortunately missing from Fractional
Operations that are unfortunately missing from Fractional
- Companion:
- object
The simplest form of monad that we can use with hedgehog.
The simplest form of monad that we can use with hedgehog.
NOTE: We must use some form of call-by-need value for our M in GenT[M, ?] to avoid stack overflows.
- Companion:
- object
Operations that are unfortunately missing from Integral
Operations that are unfortunately missing from Integral
- Companion:
- object
A very naive lazy-list.
Unfortunately using Scala Stream
results in the head being evaluated prematurely for shrinking.
A very naive lazy-list.
Unfortunately using Scala Stream
results in the head being evaluated prematurely for shrinking.
- Companion:
- object