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:00:40 -04:00
parent e08a49596e
commit 935acb47c3
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -33,6 +33,7 @@ instance Lower Range where
lowerBound = Range 0 0
-- | Construct a 'Range' with a given value for both its start and end indices.
point :: Int -> Range
point i = Range i i