1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

📝 point.

This commit is contained in:
Rob Rix 2019-09-20 17:01:19 -04:00
parent 6356443dd1
commit e28e81b3e4
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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