1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

16626 Commits

Author SHA1 Message Date
Rob Rix
c8a3116cf6 📝 the Syntax.Error instance. 2017-10-06 11:18:02 -04:00
Rob Rix
ef8a734c17 📝 the Markup.Section instance. 2017-10-06 11:17:40 -04:00
Rob Rix
a746547fd2 📝 customToDeclaration. 2017-10-06 11:17:01 -04:00
Rob Rix
0aa58d68a7 📝 CustomHasDeclaration. 2017-10-06 11:16:54 -04:00
Rob Rix
2027e94622 📝 the HasDeclaration instance. 2017-10-06 11:15:22 -04:00
Rob Rix
926f9a256d 📝 toDeclaration. 2017-10-06 11:09:47 -04:00
Rob Rix
570c5c3327 📝 HasDeclaration. 2017-10-06 11:09:42 -04:00
Rob Rix
4ab27365da Move the HasDeclaration instance up next to the typeclass. 2017-10-06 11:07:20 -04:00
Rob Rix
1ce6693dc2 📝 declarationAlgebra. 2017-10-06 11:06:42 -04:00
Rob Rix
b305182f50 Sort the declarationAlgebra higher. 2017-10-06 11:02:42 -04:00
Rob Rix
981eda3b61 📝 Strategy. 2017-10-06 11:01:36 -04:00
Rob Rix
1501f3506c Fix a fixture. 2017-10-06 10:55:46 -04:00
Rob Rix
59c2a64770 Remove the inner bind in the lambda rule. 2017-10-06 10:50:37 -04:00
Rob Rix
faf3215124 Remove the outer bind in the lambda rule. 2017-10-06 10:49:25 -04:00
Rob Rix
f22ed8fb9d Use emptyTerm when constructing lambdas. 2017-10-06 10:48:37 -04:00
Rob Rix
f86fcf32cd Abbreviate the location of empty terms. 2017-10-06 10:48:22 -04:00
Rob Rix
5ac488f164 Revert "Use the declarationAlgebra in the tests."
This reverts commit d42f9b01b42f1d0d4b769f89642b3ed7e47a5c34.
2017-10-06 10:30:20 -04:00
Rob Rix
5510e5b0fd Revert "Add Syntax to the DeclarationStrategy predicate."
This reverts commit dc841faff44ea966969563f729ee23edc03e2db8.
2017-10-06 10:30:17 -04:00
Rob Rix
ba850e9853 Combine the code paths for ToC rendering. 2017-10-06 10:29:38 -04:00
Rob Rix
3830324818 🔥 the first parameter to HasDeclaration. 2017-10-06 10:25:59 -04:00
Rob Rix
7ae35a79c2 Revert "Define a CustomHasDeclaration instance for Syntax."
This reverts commit 91510ce6e8c93f1728c138905b26bb93630f8864.
2017-10-06 10:24:50 -04:00
Rob Rix
e9c0377d03 Revert "Decorate Syntax with declarationAlgebra."
This reverts commit 4a4f799bdb63824d6e403ff292ac9fda8059876b.
2017-10-06 10:24:06 -04:00
Rob Rix
913d0f6979 Revert "🔥 syntaxDeclarationAlgebra."
This reverts commit 042d42db1a9df6876ec061de35517f3e823f16e3.
2017-10-06 10:23:56 -04:00
Rob Rix
a644e46efc Test for emptiness without a membership constraint. 2017-10-06 10:17:17 -04:00
Rob Rix
53e6f80d93 Add Syntax to the DeclarationStrategy predicate. 2017-10-06 10:14:05 -04:00
Rob Rix
ec3dff1c66 Use the declarationAlgebra in the tests. 2017-10-06 09:34:15 -04:00
Rob Rix
58e4a5fcf1 Spacing. 2017-10-05 20:54:29 -04:00
Rob Rix
37845baa08 Reorder the re-exports. 2017-10-05 20:38:45 -04:00
Rob Rix
5b55bb37a9 🔥 syntaxDeclarationAlgebra. 2017-10-05 20:38:35 -04:00
Rob Rix
9bf11258a5 Decorate Syntax with declarationAlgebra. 2017-10-05 20:38:30 -04:00
Rob Rix
e6ad277ef7 Define a CustomHasDeclaration instance for Syntax. 2017-10-05 20:37:20 -04:00
Rob Rix
25ca026c83 🔥 markupSectionAlgebra. 2017-10-05 20:36:33 -04:00
Rob Rix
f09621444f Decorate Markdown declarations using declarationAlgebra. 2017-10-05 20:36:14 -04:00
Rob Rix
30fb1bb324 Silence a warning in Semantic.Util. 2017-10-05 20:35:18 -04:00
Rob Rix
072f3e1e0a Replace declarationAlgebra with toDeclarationAlgebra. 2017-10-05 20:32:57 -04:00
Rob Rix
6082c5090e Export HasDeclaration. 2017-10-05 20:30:33 -04:00
Rob Rix
e9e17b71da Merge remote-tracking branch 'origin/abstract-high-level-flow-over-syntax-types' into open-toc-rendering 2017-10-05 20:12:46 -04:00
Rob Rix
85872a3e2e Merge branch 'master' into abstract-high-level-flow-over-syntax-types 2017-10-05 20:11:56 -04:00
Rob Rix
17be494d3c Rename toDeclaration' to customToDeclaration. 2017-10-05 20:07:25 -04:00
Rob Rix
544071884b Rename HasDeclaration' to CustomHasDeclaration. 2017-10-05 20:06:34 -04:00
Rob Rix
f701045232 Define a HasDeclaration' instance for Declaration.Method. 2017-10-05 20:04:42 -04:00
Rob Rix
683ea586d5 Comment on the named functions clause. 2017-10-05 20:02:34 -04:00
Rob Rix
8284db1320 We have a custom instance for Error, not Empty. 2017-10-05 19:38:23 -04:00
Rob Rix
025429f6cc Add the Union to the predicate. 2017-10-05 19:31:22 -04:00
Rob Rix
43df678875 Add Syntax.Empty & Declaration.Function to the predicate. 2017-10-05 19:29:55 -04:00
Rob Rix
bc73d982a9 Define a HasDeclaration' instance for Declaration.Function. 2017-10-05 19:26:31 -04:00
Timothy Clem
701cbd7bf2 No need for bang patterns here 2017-10-05 16:19:40 -07:00
Timothy Clem
077deb44c2 Extract withTiming and measure overall run time 2017-10-05 16:15:32 -07:00
Rob Rix
9e7cde3e9a 🔥 the membership constraint for Context in diffWithParser. 2017-10-05 18:48:53 -04:00
Rob Rix
193167e3e9 Lift the file helper into MonadIO. 2017-10-05 18:42:19 -04:00