rio-0.1.15.1: A standard library for Haskell
Safe HaskellSafe
LanguageHaskell2010

RIO.NonEmpty.Partial

Description

NonEmpty list partial functions. Import as:

import qualified RIO.NonEmpty.Partial as NE'
Synopsis

Indexing streams

(!!) :: NonEmpty a -> Int -> a #

Converting to and from a list

fromList :: [a] -> NonEmpty a #