mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
📝 point.
This commit is contained in:
parent
6356443dd1
commit
e28e81b3e4
@ -48,6 +48,7 @@ instance Lower Span where
|
||||
lowerBound = Span lowerBound lowerBound
|
||||
|
||||
|
||||
-- | Construct a Span with a given value for both its start and end positions.
|
||||
point :: Pos -> Span
|
||||
point p = Span p p
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user