1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 02:14:20 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Rob Rix
77ff50bd06
Run the doctests from the right place. 2019-09-20 18:04:13 -04:00
Rob Rix
909fa63714
Define a byteRange_ lens for Loc. 2019-09-20 17:33:15 -04:00
Rob Rix
4bc5491a25
Extract lens to the top level. 2019-09-20 17:33:10 -04:00
Rob Rix
52bc7e640e
Rename locByteRange/locSpan to byteRange/span. 2019-09-20 17:32:52 -04:00
Rob Rix
e28e81b3e4
📝 point. 2019-09-20 17:01:19 -04:00
Rob Rix
6356443dd1
Define a point constructor for Span. 2019-09-20 17:01:16 -04:00
Rob Rix
935acb47c3
📝 point. 2019-09-20 17:00:40 -04:00
Rob Rix
e08a49596e
Define a point fiunction for Range. 2019-09-20 17:00:24 -04:00
Rob Rix
0312300a40
Rename the spanStart/spanEnd fields to start/end. 2019-09-20 16:59:04 -04:00
Rob Rix
7d1567e70a
🔥 a bunch of redundant hidden imports. 2019-09-20 16:45:12 -04:00
Rob Rix
d59a44bc69
Rename the HasSpan span lens to span_. 2019-09-20 16:43:12 -04:00
Rob Rix
57c385d265
Rename the HasSpan start/end lenses to start_/end_. 2019-09-20 16:39:06 -04:00
Rob Rix
1e6ebd21a3
Rename posLine/posColumn to line/column. 2019-09-20 16:36:36 -04:00
Rob Rix
64ef37e790
Rename the line/column lenses to line_/column_. 2019-09-20 16:31:04 -04:00
Rob Rix
bb204715a1
Define lenses for the starts/ends of Range. 2019-09-20 16:27:11 -04:00
Rob Rix
74693f4d66
Bring in the Source tests. 2019-09-20 16:11:53 -04:00
Patrick Thomson
86682d8cfe De-suffix sourceBytes. 2019-09-20 16:03:45 -04:00
Patrick Thomson
f0567fdd20 De-suffix dropSource and takeSource. 2019-09-20 15:56:43 -04:00
Rob Rix
ca6a785ae3
Flip lineRangesWithin. 2019-09-20 15:24:57 -04:00
Rob Rix
8aae3128c6
Rename the Source symbols and recommend importing it qualified. 2019-09-20 15:21:51 -04:00
Rob Rix
b20dcf4a19
Copy Source in. 2019-09-20 15:13:50 -04:00
Rob Rix
2748529c13
Copy Location in as Loc. 2019-09-20 14:16:42 -04:00
Rob Rix
ddef7139f6
Copy Span in. 2019-09-20 14:00:33 -04:00
Rob Rix
325e1f13cc
Derive a Hashable instance for Range. 2019-09-20 13:59:29 -04:00
Rob Rix
4e40108760
Copy Range in. 2019-09-20 13:33:21 -04:00
Rob Rix
a126e39a8b
Use the right dir for the doctests. 2019-09-20 13:30:35 -04:00
Rob Rix
2c99f097a4
Link the doctests against QuickCheck. 2019-09-20 13:27:16 -04:00
Rob Rix
57ab2f6792
Link the doctests against the lib. 2019-09-20 13:27:09 -04:00
Rob Rix
974e2ca0ea
Define a semantic-source package. 2019-09-20 12:03:14 -04:00