fromListUnsafe

Deprecated

Use toNonEmptyListOrNull instead

Replace with

import import arrow.core.toNonEmptyListOrNull
l.toNonEmptyListOrNull() ?: throw IndexOutOfBoundsException("Empty list doesn't contain element at index 0.")