HTF-0.15.0.0: The Haskell Test Framework
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Framework.Location

Description

Internal module for types and functions dealing with source code locations.

Synopsis

Documentation

data Location Source #

An abstract type representing locations in a file.

unknownLocation :: Location Source #

The unknown location (file ? and line 0).

fileName :: Location -> String Source #

Extract the file name of a Location.

lineNumber :: Location -> Int Source #

Extract the line number of a Location.

makeLoc Source #

Arguments

:: String

The file name

-> Int

The line number

-> Location 

Create a new location.