This migration script attempts to automatically migrate arrow.core.computations.* and arrow.core.continuations.* on a best effort to arrow.core.raise.*.
It has been tested on serveral real-life projects with 100% success, being able to automatically migrate the entire codebase.
The run this kts script you need kotlinc install on your machine.
The official documentation on how to install kotlinc.
Some methods like ensure in the DSL became top-level, and fold if you're using Effect or EagerEffect.
These new top-level imports cannot be automatically migrated, and there are two ways of dealing with the necessary imports.