1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00
Commit Graph

58 Commits

Author SHA1 Message Date
Ayman Nadeem
4475629775 order where clause operations chronologically 2019-10-23 12:01:55 -04:00
Ayman Nadeem
ed80f90faf visual separation ftw 2019-10-23 11:58:51 -04:00
Ayman Nadeem
a2cd91579f need traverse_ from Data.Foldable 2019-10-22 15:29:23 -04:00
Ayman Nadeem
79d971c432 express do block as composition 2019-10-22 15:28:27 -04:00
Ayman Nadeem
090ebfeffc extract lambda into a named function in where clause 2019-10-22 13:53:09 -04:00
Ayman Nadeem
a9f6068a7b color can only have if pretty 2019-10-22 13:41:13 -04:00
Ayman Nadeem
f876c0b5e0 redundant do blocks 2019-10-22 13:40:48 -04:00
Ayman Nadeem
0bee5c5d25 clean up usage docs 2019-10-22 13:40:35 -04:00
Ayman Nadeem
9b17db51b1 add qualified import 2019-10-22 13:40:27 -04:00
Ayman Nadeem
4c0de190ec use qualified imports to clean stuff up 2019-10-22 13:09:13 -04:00
Ayman Nadeem
45abf90917 indent case statements because lexical scoping 2019-10-22 12:33:19 -04:00
Ayman Nadeem
3e754c35b1 use for_ 2019-10-22 12:33:05 -04:00
Ayman Nadeem
1761656d27 jk use for_ so we don't ignore results 2019-10-22 12:28:23 -04:00
Ayman Nadeem
c67dc33184 let's support multiple formats 2019-10-22 10:50:58 -04:00
Ayman Nadeem
659dae0bc8 use for because for_ discards the results 2019-10-21 13:56:03 -04:00
Ayman Nadeem
3a778342f8 no longer provide --flag 2019-10-21 12:57:31 -04:00
Ayman Nadeem
90be70f045 specify usage pattern 2019-10-21 12:57:16 -04:00
Ayman Nadeem
86aa2be662 need for_ 2019-10-20 11:51:12 -04:00
Ayman Nadeem
e67ee6ee7b take multiple filepaths 2019-10-20 11:51:02 -04:00
Ayman Nadeem
ca30fe6c15 eliminate source into [ByteString] 2019-10-20 11:50:43 -04:00
Ayman Nadeem
19a0594fd1 bytestrings are now a list 2019-10-20 11:50:15 -04:00
Ayman Nadeem
83e0278119 discard thinking comments 2019-10-18 17:21:04 -04:00
Ayman Nadeem
7dcec7538b if option is specified, print no-color 2019-10-18 17:20:31 -04:00
Ayman Nadeem
bd7a16a52f add color to generateAST 2019-10-18 17:20:06 -04:00
Ayman Nadeem
d5be5ba582 make default color and option no-color 2019-10-18 17:19:52 -04:00
Ayman Nadeem
718dd27e4a need to use pPrintNoColor for no color option 2019-10-18 17:19:11 -04:00
Ayman Nadeem
51ce6dd303 create a boolean option to print with color 2019-10-18 13:43:54 -04:00
Ayman Nadeem
67760145e8 case over Format 2019-10-18 11:23:37 -04:00
Ayman Nadeem
1537f43fde add Pretty constructor to Format 2019-10-18 11:23:23 -04:00
Ayman Nadeem
b0fb726d4d case over format 2019-10-18 11:14:56 -04:00
Ayman Nadeem
a4ddeb45a4 go back to pack 2019-10-17 17:31:04 -04:00
Ayman Nadeem
322feb2d70 convert UTF8 ByteString without going through Text 2019-10-17 13:41:30 -04:00
Ayman Nadeem
6ab570c976 remove ApplicativeDo 2019-10-16 18:18:11 -04:00
Ayman Nadeem
0e32c5ec27 remove Read constraint 2019-10-16 15:15:55 -04:00
Ayman Nadeem
a45b8683ec correctly refactor 2019-10-16 15:15:03 -04:00
Ayman Nadeem
9b1345d0b9 factor bytestring out into where clause 2019-10-16 14:48:49 -04:00
Ayman Nadeem
200d341fe4 fix indentation 2019-10-16 14:17:07 -04:00
Ayman Nadeem
0250fe4950 camel case consistently 2019-10-16 11:53:32 -04:00
Ayman Nadeem
c495483b22 remove TODOs - did these! 2019-10-15 17:57:18 -04:00
Ayman Nadeem
c9219f71c3 Either makes this easier 2019-10-15 13:27:54 -04:00
Ayman Nadeem
be5f00ee50 express choice between either string or filepath options 2019-10-15 13:27:20 -04:00
Ayman Nadeem
d7ce6ef1d3 avoid the possibility of two Nothings 2019-10-15 13:23:00 -04:00
Ayman Nadeem
927a987f0d todos 2019-10-11 13:15:21 -04:00
Ayman Nadeem
e97daf47d5 I want to specify format first 2019-10-11 13:10:01 -04:00
Ayman Nadeem
7d6740224b move format in SemanticAST 2019-10-11 13:09:37 -04:00
Ayman Nadeem
0b6e3d5b3a parseAST handles this 2019-10-11 13:05:31 -04:00
Ayman Nadeem
7e358a8c2e parseAST handles this 2019-10-11 13:05:09 -04:00
Ayman Nadeem
08cbd88e71 will need to replace this with alternation above 2019-10-11 13:04:40 -04:00
Ayman Nadeem
db9e7da48f this has been subsumed by SemanticAST 2019-10-11 12:50:37 -04:00
Ayman Nadeem
cf609451ae lord forgive me for this nested case statement 2019-10-11 12:49:57 -04:00