impure

inline fun impure(block: SingletonRaise<Unit>.() -> Unit)

Runs a computation block using Raise, and ignore its outcome.

This function re-throws any exceptions thrown within the Raise block.

Read more about running a Raise computation in the Arrow docs.