Comments

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Homplexity.SrcSlice

Description

Showing references to slices of code

Synopsis

Documentation

srcSlice :: (Data a, Show a) => a -> SrcSpan

Compute the slice of code that given source fragment is in (for naming)

srcLoc :: (Data code, Show code) => code -> SrcLoc