1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
Commit Graph

8726 Commits

Author SHA1 Message Date
Rob Rix
185818d8bd Rename runCofree to unTerm. 2017-09-08 16:46:35 +01:00
Rob Rix
f2cd05d5fc Rename Cofree/CofreeF to Term/TermF. 2017-09-08 16:45:08 +01:00
Rob Rix
aa9d4c4f19 Give our own definition of CofreeF. 2017-09-08 16:40:23 +01:00
Rob Rix
1a6af2179b Give our own definition of Cofree. 2017-09-08 16:24:11 +01:00
Rob Rix
a296ec4ca3 Re-enable the orphan instance warning in Term. 2017-09-08 15:54:35 +01:00
Rob Rix
b0710ccfb8 Define the MonadError instance in terms of SomeException. 2017-08-29 18:22:40 -04:00
Rob Rix
568fce81d3 Use MonadError in runParser. 2017-08-29 18:20:03 -04:00
Rob Rix
04593870e7 Define an Exception instance for Error. 2017-08-29 17:33:30 -04:00
Rob Rix
e0ad055522 Derive a Typeable instance for Error. 2017-08-29 17:33:19 -04:00
Rob Rix
a542607dd7 Add a MonadError instance to Task. 2017-08-29 17:20:21 -04:00
Rob Rix
d420f1460e Add Throw/Catch primitives to Task. 2017-08-29 17:20:15 -04:00
Rob Rix
500afcad42 📝 LiftIO. 2017-08-29 17:04:05 -04:00
Rob Rix
4c38049e2f Merge branch 'master' into update-python-assignment 2017-08-25 13:21:32 -04:00
Rob Rix
84aaba64d9 Add a convenience to read a file and guess its language. 2017-08-25 12:25:18 -04:00
Rob Rix
c7b7d1516e Define a pretty-printing convenience. 2017-08-25 12:23:22 -04:00
Rob Rix
b318e31b2b Stub in a Semantic.Util module. 2017-08-25 12:22:22 -04:00
Rob Rix
9a370137df Define prettyBytes once for all syntax modules. 2017-08-25 12:20:17 -04:00
Rick Winfrey
0afabb1183 Bump Python grammar 2017-08-24 16:34:31 -07:00
Rick Winfrey
b6bf941ae9 🔥 no longer valid symbols 2017-08-24 16:23:13 -07:00
Rick Winfrey
3eded7f4eb 🔥 argument 2017-08-24 16:22:59 -07:00
Rick Winfrey
6a2994f701 Update everything for new assignments 2017-08-24 16:22:45 -07:00
Rick Winfrey
8609e7dced Assign parenthesizedExpression 2017-08-24 16:22:21 -07:00
Rick Winfrey
9a91b19d25 Assign keywordArgument 2017-08-24 16:22:12 -07:00
Rick Winfrey
f8e5e939be Assign dictionarySplat 2017-08-24 16:22:03 -07:00
Rick Winfrey
840bef4fbf Assign listSplat 2017-08-24 16:21:55 -07:00
Rob Rix
3cf40a72e1 Fix the fix to Syntax’ Pretty1 instance. 2017-08-23 12:10:31 -04:00
Rob Rix
7c89e45c53 Add GAlign to the deriving clause. 2017-08-23 12:10:24 -04:00
Rob Rix
0d9b29f6b6 Fix Syntax’ Pretty1 instance. 2017-08-23 12:09:22 -04:00
Rob Rix
622a7b714a Give explicit (generic) definitions of liftPretty for all the syntax types. 2017-08-23 12:08:04 -04:00
Rob Rix
13df366dcd Define Patch’s Pretty1 instance generically. 2017-08-23 12:07:39 -04:00
Rob Rix
2c722a59c7 Define a Generic1 instance for Patch. 2017-08-23 12:07:26 -04:00
Rob Rix
562be941fe Fix up a few manual instances. 2017-08-23 11:52:00 -04:00
Rob Rix
fdd12d4718 Fix up all of the imports. 2017-08-23 11:49:43 -04:00
Rob Rix
9edec90492 Re-export the whole module. 2017-08-23 11:49:29 -04:00
Rob Rix
520212bc34 Give a generic implementation for liftPretty. 2017-08-23 11:48:12 -04:00
Rob Rix
994789eaaf Add generic implementations. 2017-08-23 11:42:54 -04:00
Rob Rix
e75c99772c Stub in a module for generic lifted pretty-printing. 2017-08-23 11:41:14 -04:00
Rob Rix
e44f43e689 🔥 Data.Functor.Classes.Pretty.Orphans. 2017-08-22 14:27:56 -04:00
Rob Rix
9a5f78a6c0 Define Pretty1 for literals without orphans. 2017-08-22 14:26:59 -04:00
Rob Rix
143bbe1908 Define Pretty1 for markup without orphans. 2017-08-22 14:20:56 -04:00
Rob Rix
507b2e02ef Define Pretty1 for comments without orphans. 2017-08-22 14:20:47 -04:00
Rob Rix
367c6a73c5 Define Pretty instances in Data.Syntax without orphans. 2017-08-22 14:20:32 -04:00
Rob Rix
7b10c9976b Derive a Pretty1 instance for Syntax. 2017-08-22 13:56:32 -04:00
Rob Rix
15adce1ec3 DerivePretty1 instances for the à la carte syntax types. 2017-08-22 13:55:49 -04:00
Rob Rix
f9974f7ec1 Define an orphan Pretty instance for SrcLoc. 2017-08-22 13:55:12 -04:00
Rob Rix
cf1619b58f Define a Pretty instance for ByteString. 2017-08-22 13:45:09 -04:00
Rob Rix
3d4c52d22e Disable warnings on orphan instances. 2017-08-22 13:40:23 -04:00
Rob Rix
c2e6438bf5 Stub in a module for orphan instances of Pretty, Pretty1, etc. 2017-08-22 13:40:00 -04:00
Rob Rix
3f979ad58e Simplify the Pretty1 instance for Patch. 2017-08-22 13:30:42 -04:00
Rob Rix
768acdd1c8 Simplify the Pretty instance for Records. 2017-08-22 13:17:49 -04:00