Data.List.NonEmpty

# The type of non-empty streams

data NonEmpty a

# Non-empty stream transformations

map

intersperse

scanl

scanr

scanl1

scanr1

transpose

sortBy

sortOn

# Basic functions

length

head

tail

last

init

(<|)

cons

uncons

unfoldr

sort

reverse

inits

tails

# Building streams

iterate

repeat

cycle

unfold

insert

some1

# Extracting sublists

take

drop

splitAt

takeWhile

dropWhile

span

break

filter

partition

group

groupBy

group1

groupBy1

# Sublist predicates

isPrefixOf

# "Set" operations

nub

nubBy

# Indexing streams

(!!)

# Zipping and unzipping streams

zip

zipWith

unzip

# Functions on streams of characters

words

unwords

lines

unlines

# Converting to and from a list

fromList

toList

nonEmpty

xor