1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 14:11:33 +03:00
Commit Graph

48 Commits

Author SHA1 Message Date
Rob Rix
ccf92f9808 Rename setCharacterRange -> setByteRange. 2017-05-05 09:32:15 -04:00
Rob Rix
5ff9c1fe6a Define a type synonym for the set of default fields. 2017-03-31 15:19:52 -04:00
Rob Rix
f52894d2e8 Rename DefaultFields to HasDefaultFields. 2017-03-31 15:18:27 -04:00
Rob Rix
46fe5ed705 Move DefaultFields into Info.hs. 2017-03-31 15:17:43 -04:00
Rob Rix
04b929822e 🔥 Cost. 2017-02-21 14:58:39 -05:00
Rob Rix
d288ec1d17 🔥 cost & setCost. 2017-02-21 14:56:34 -05:00
Rob Rix
a7bfbb72f4 Rename characterRange to byteRange. 2017-02-16 11:58:26 -05:00
Rob Rix
cff0db5528 Add field accessors for SourceSpan. 2017-01-20 14:44:23 -05:00
Rob Rix
0aa45a615b Reformat Info’s exports. 2017-01-20 14:44:10 -05:00
Rob Rix
fe155eac5a Move the sourceText getter out from between the Cost accessors. 2017-01-20 14:41:34 -05:00
Rob Rix
1ee9a60039 🔥 Arbitrary instances. 2017-01-09 14:59:04 -05:00
Rob Rix
d95077037e Define a Listable instance over Cost. 2017-01-05 15:04:42 -05:00
Rick Winfrey
ac872df76c Add SourceText type and sourceType getter function 2016-11-09 17:39:35 -06:00
Rick Winfrey
61bdea425d Add generic ToJSON Cost instance 2016-11-01 15:04:16 -05:00
joshvera
15cd4777e6 Add SourceSpans to customize ToJSON output for These SourceSpan SourceSpan 2016-10-06 17:55:54 -04:00
joshvera
224aba6c1f Expose SourceSpan/SourcePos from Info 2016-10-05 17:40:49 -04:00
Rob Rix
4cc090e92b Use Int instead of Integer. 2016-08-18 10:52:49 -04:00
joshvera
5e877cc3e9 Remove some redundant imports 2016-07-29 14:31:15 -04:00
joshvera
aa99744db7 Remove SourceSpan from Record 2016-07-29 14:12:44 -04:00
joshvera
c7d7ee51aa Keep track of source spans 2016-07-27 18:11:55 -04:00
joshvera
ae4142ad7c Add SourceSpan module 2016-07-27 17:15:09 -04:00
Rob Rix
b96f60be92 🔥 Size. 2016-07-15 11:18:26 -04:00
Rob Rix
8754120403 🔥 the size/setSize accessors. 2016-07-15 11:18:21 -04:00
Rob Rix
747ae7cbfb 🔥 the InfoFields and Info type synonyms. 2016-07-15 09:41:22 -04:00
Rob Rix
b45329e94b Add Arbitrary instances over Size and Cost. 2016-07-13 15:30:37 -04:00
Rob Rix
60b92bfedf Derive Ord instances for Size and Cost. 2016-06-30 12:47:21 -04:00
Rob Rix
b604ddd446 FlexibleContexts all the things. 2016-06-23 16:19:51 -04:00
Rob Rix
8b5dc22797 🔥 SetField (roll it into HasField). 2016-06-17 14:07:21 -04:00
Rob Rix
1668e94427 Define Info as a synonym over Data.Record. 2016-06-17 13:33:50 -04:00
Rob Rix
7d95cb48dc Use the Cost & Size types in Info. 2016-06-17 13:30:48 -04:00
Rob Rix
5413e1ff43 Add setter functions for Info’s fields. 2016-06-17 13:23:54 -04:00
Rob Rix
01d8c6ed91 Derive Num instances for Size and Cost. 2016-06-17 11:33:22 -04:00
Rob Rix
f6f067c638 Derive Eq & Show instances for Size & Cost. 2016-06-17 11:25:45 -04:00
Rob Rix
b8ddaaaaf0 Size/Cost are not just wrappers. 2016-06-17 11:22:22 -04:00
Rob Rix
138f66ae0d Don’t wrap Range & Category in newtypes. 2016-06-17 11:15:22 -04:00
Rob Rix
ed1b0b692d We no longer require TypeOperators. 2016-06-17 10:45:41 -04:00
Rob Rix
9e88584726 Add setters. 2016-06-17 10:29:24 -04:00
Rob Rix
9ccd3d2d77 Implement Data.Record-based annotations. 2016-06-17 10:26:20 -04:00
Rob Rix
bcbb590b1f Add a cost field to Info. 2016-06-02 23:34:16 -04:00
Rob Rix
43757e8a61 🔥 Categorizable.
This reverts commit be59b0c161362baae63308478177819828be7e1b.
2016-06-02 19:10:41 -04:00
joshvera
0244e9a929 Store a category in Info instead of a Set 2016-05-31 16:13:01 -04:00
joshvera
473ec980b1 Merge remote-tracking branch 'origin/master' into diff-summaries 2016-05-26 13:40:54 -04:00
joshvera
8180b37285 Use Protolude via the Prologue module and add NoImplicitPrelude 2016-05-26 12:58:04 -04:00
joshvera
68f5b0f669 Remove description from diff summary 2016-05-17 15:59:07 -04:00
Rob Rix
c8c195daf8 Rename getSize to size. 2016-04-11 15:04:44 -04:00
Rob Rix
71e8454fb4 Add a size field to Info. 2016-04-11 15:02:58 -04:00
Rob Rix
e8fbe8c789 Move Info into its own module. 2016-03-30 17:26:52 -04:00
Rob Rix
75677fa8aa Add a module for Info. 2016-03-30 17:12:39 -04:00