Module

# Supply

- Package
- purescript-supply
- Repository
- ajnsit/purescript-supply

### #supplyValue Source

`supplyValue :: forall a s. Supply s a -> a`

Get the value of a supply. This function, together with

### #unsafeInterleaveEffect Source

`unsafeInterleaveEffect :: forall a. Effect a -> Effect (Lazy a)`

unsafeInterleaveEffect allows an Effect to be deferred lazily.

### #withSupply Source

`withSupply :: forall a r. a -> (a -> a) -> (forall s. Supply s a -> r) -> r`

Create a new supply and use it without effects

### #modifySupply Source

`modifySupply :: forall b a s. Supply s a -> (Supply s a -> b) -> Supply s b`

Generate a new supply by systematically applying a function

### #withIntSupply Source

`withIntSupply :: forall r. (forall s. Supply s Int -> r) -> r`

Create a new integer supply and use it without effects

- Modules
- Supply