Patrick Thomson
|
7c410bedf4
|
Use Pos 1 1 here for backwards compat.
|
2020-02-04 11:35:11 -05:00 |
|
Patrick Thomson
|
93e0047b75
|
Remove the Lower instance for Span and Pos entirely.
If we ever need these in the future, we can create named variables for
them. The `Lower` instance is an information-hole.
|
2020-02-04 11:15:57 -05:00 |
|
Patrick Thomson
|
46b9ce578e
|
Make Data.Span.Pos's Lower instance zero-indexed.
This is a major version bump for semantic-source.
|
2020-02-04 10:39:18 -05:00 |
|
Patrick Thomson
|
91a1a1720b
|
Fix documentation for Source.Span.Pos.
Fixes #457.
|
2020-01-31 13:34:12 -05:00 |
|
Rob Rix
|
774c71f1e3
|
Merge branch 'master' into linguistic-drift
|
2020-01-27 15:07:24 -05:00 |
|
Ayman Nadeem
|
7eff25d791
|
don't need OverloadedStrings anymore
|
2020-01-27 12:55:16 -05:00 |
|
Ayman Nadeem
|
4e969c77fe
|
alphabetize imports
|
2020-01-27 12:52:16 -05:00 |
|
Patrick Thomson
|
fafd5a76f3
|
Port Data.Language into semantic-source.
- [ ] Depends on #444.
Because we need a separate release, this patch doesn't yet remove Data.Language.
|
2020-01-27 12:31:43 -05:00 |
|
Ayman Nadeem
|
867fa48434
|
ToJSON instance for Loc
|
2020-01-27 12:17:40 -05:00 |
|
Ayman Nadeem
|
d8eaba4ebb
|
Update Range.hs
|
2020-01-27 12:17:00 -05:00 |
|
Ayman Nadeem
|
ceefb6f6e0
|
replace auto-derived ToJSON instance with one that mirrors ToJSONFields
|
2020-01-27 12:09:23 -05:00 |
|
Ayman Nadeem
|
c40ef71f8e
|
Merge branch 'master' into json-output
|
2020-01-21 16:47:13 -05:00 |
|
Timothy Clem
|
bac3dd5621
|
Use lenientDecode here
|
2020-01-15 09:26:55 -08:00 |
|
Ayman Nadeem
|
08a319b433
|
need to auto-derive ToJSON instance
|
2019-12-19 10:01:00 -05:00 |
|
Ayman Nadeem
|
240fb43c36
|
need aeson
|
2019-12-19 10:00:44 -05:00 |
|
Ayman Nadeem
|
3758f8e2c4
|
need range values
|
2019-12-19 10:00:38 -05:00 |
|
Patrick Thomson
|
2aae2af79f
|
Add an NFData instance for Source.
|
2019-10-04 12:38:32 -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 |
|
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 |
|