Agda-2.7.0: A dependently typed functional programming language and proof assistant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Agda.Utils.IArray

Description

Array utilities.

Synopsis

Documentation

(!?) :: (IArray a e, Ix i) => a i e -> i -> Maybe e Source #

Returns Just the element of an immutable array at the specified index, or Nothing if the index is out of bounds.