Module

Control.Lazy

Package
purescript-control
Repository
purescript/purescript-control

#Lazy Source

class Lazy l  where

The Lazy class represents types which allow evaluation of values to be deferred.

Usually, this means that a type contains a function arrow which can be used to delay evaluation.

Members

Instances

#fix Source

fix :: forall l. Lazy l => (l -> l) -> l

fix defines a value as the fixed point of a function.

The Lazy instance allows us to generate the result lazily.