mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
🔥 emptySpan.
This commit is contained in:
parent
36eb0df4a9
commit
a93327f46d
@ -2,7 +2,6 @@
|
||||
module Data.Loc
|
||||
( Loc(..)
|
||||
, interactive
|
||||
, emptySpan
|
||||
, here
|
||||
, stackLoc
|
||||
, FailWithLocC(..)
|
||||
@ -26,10 +25,7 @@ data Loc = Loc
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
interactive :: Loc
|
||||
interactive = Loc "<interactive>" emptySpan
|
||||
|
||||
emptySpan :: Span
|
||||
emptySpan = Span (Pos 1 1) (Pos 1 1)
|
||||
interactive = Loc "<interactive>" (Span (Pos 1 1) (Pos 1 1))
|
||||
|
||||
|
||||
here :: HasCallStack => Maybe Loc
|
||||
|
Loading…
Reference in New Issue
Block a user