Identity

abstract class Identity[A]

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
class Object
trait Matchable
class Any

Value members

Abstract methods

def value: A

Concrete methods

def flatMap[B](f: A => Identity[B]): Identity[B]
def map[B](f: A => B): Identity[B]