futhark
Safe HaskellNone
LanguageGHC2021

Futhark.Util.Loc

Description

A Safe Haskell-trusted re-export of the srcloc package.

Synopsis

Documentation

module Data.Loc

contains :: Located a => a -> Pos -> Bool Source #

Does the location of the given thing contain the given position? The end of a Loc is exclusive: it is the position just after the last character.