rio-0.1.22.0: A standard library for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

RIO.NonEmpty.Partial

Description

NonEmpty list partial functions. Import as:

import qualified RIO.NonEmpty.Partial as NE'
Synopsis

Indexing streams

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

Converting to and from a list