Defining NonEmptyArray and NonEmptyReadonlyArray with map method - Effect Community