Module

# Effect

- Package
- purescript-effect
- Repository
- purescript/purescript-effect

This module provides the `Effect`

type, which is used to represent
*native* effects. The `Effect`

type provides a typed API for effectful
computations, while at the same time generating efficient JavaScript.

### #Effect Source

`data Effect t0`

A native effect. The type parameter denotes the return type of running the
effect, that is, an `Effect Int`

is a possibly-effectful computation which
eventually produces a value of the type `Int`

when it finishes.

The

`Semigroup`

instance for effects allows you to run two effects, one after the other, and then combine their results using the result type's`Semigroup`

instance.