fromList package:base-compat

Converts a normal list to a NonEmpty stream. Raises an error if given an empty list.