Reading the documentation examples , for example https://arrow-kt.io/learn/typed-errors/working-with-typed-errors/ , It is sometimes hard to know for a begginer which import to use. For example it is needed to add import `arrow.core.right` and `import arrow.core.raise.ensure` to make the examples work.