1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 12:51:52 +03:00
Commit Graph

7200 Commits

Author SHA1 Message Date
Rob Rix
c7728b7c1c Test the reflexivity of alignment modulo These. 2016-07-12 18:24:24 -04:00
Rob Rix
a1bfe55742 Handle ByKey using OrderedMap’s Align instance. 2016-07-12 18:20:31 -04:00
Rob Rix
7af6915a75 Align OrderedMap using the same logic as ByKey. 2016-07-12 18:20:19 -04:00
Rob Rix
ae9b0e55f3 Test against integer keys/values. 2016-07-12 18:11:09 -04:00
Rob Rix
449c564179 Test the upper bound on input length. 2016-07-12 18:10:10 -04:00
Rob Rix
5a721f0a90 Test that align is length-preserving. 2016-07-12 18:09:12 -04:00
Rob Rix
4869729770 Silence a warning. 2016-07-12 18:09:01 -04:00
Rob Rix
a327ab67a4 Export the OrderedMap constructor. 2016-07-12 17:57:58 -04:00
Rob Rix
89b7c451bf Parenthesize records where appropriate. 2016-07-12 17:55:49 -04:00
Rob Rix
a43400b920 Add field names to ArbitraryTerm. 2016-07-12 17:45:50 -04:00
Rob Rix
657d6dc72e Use the correct constructor. 2016-07-12 17:44:48 -04:00
Rob Rix
87e1ce7020 Revert "Show the Term itself."
This reverts commit aea84cbec83972add52909b0813ad9362808553f.
2016-07-12 17:29:47 -04:00
Rob Rix
ccf78456f2 🔥 a redundant import. 2016-07-12 17:26:21 -04:00
Rob Rix
4818d723b3 Show the Term itself. 2016-07-12 17:20:44 -04:00
Rob Rix
3ff027e12c Place hlint about wrap. 2016-07-12 17:19:44 -04:00
Rob Rix
d6c994a852 🔥 a blank line apparently. 2016-07-12 17:19:38 -04:00
Rob Rix
feb39e540f Test that nil is the right- and left-identity modulo This/That. 2016-07-12 17:16:24 -04:00
Rob Rix
3d73efc6d3 Placate hlint. 2016-07-12 17:16:10 -04:00
Josh Vera
2d4dadb167 Merge pull request #608 from github/ses-parallelism
SES benchmarking
2016-07-12 13:28:22 -04:00
Josh Vera
b801683254 Merge branch 'master' into ses-parallelism 2016-07-12 13:12:26 -04:00
Rick Winfrey
b1b2289305 Merge pull request #630 from github/2016-07-12-weekly
Add 2016-07-12 weekly meeting notes
2016-07-12 10:32:08 -05:00
Rick Winfrey
8508d1ea2d Add 2016-07-12 weekly meeting notes 2016-07-12 10:29:45 -05:00
Josh Vera
802002a9b4 Merge pull request #629 from github/generic-zip
Generic align
2016-07-12 10:30:00 -04:00
Rob Rix
0ebfb1e441 Back out the SES parallelism stuff. 2016-07-12 09:51:41 -04:00
Rob Rix
a0a86a0d01 Merge branch 'master' into ses-parallelism
# Conflicts:
#	semantic-diff.cabal
#	src/Patch.hs
2016-07-12 09:50:02 -04:00
Rob Rix
36528d4b37 📝 galignAlign. 2016-07-11 15:39:33 -04:00
Rob Rix
56b248d390 Document the equality constraint. 2016-07-11 15:39:00 -04:00
Rob Rix
23b7fa4f87 Correct the docs for the GAlign instance over K1. 2016-07-11 15:38:17 -04:00
Rob Rix
63832980ba Non-parameter fields are only zipped if equal. 2016-07-11 15:37:48 -04:00
Rob Rix
cf3690f28a Implement recur using galign. 2016-07-11 15:35:13 -04:00
Rob Rix
ce500a822f Define zipTerms using galign. 2016-07-11 15:13:16 -04:00
Rob Rix
06fce4f0ca 📝 the GAlign instances. 2016-07-11 14:55:39 -04:00
Rob Rix
d6dbc24056 Move the GAlign instance over Syntax a into its own section. 2016-07-11 14:52:13 -04:00
Rob Rix
ee60b4be7a Use galignAlign explicitly. 2016-07-11 14:51:09 -04:00
Rob Rix
45c0a582b8 Add a function implementing galign’s type using align. 2016-07-11 14:50:13 -04:00
Rob Rix
a7ee001f4d Move the Data.Align.Align implementations into their own section. 2016-07-11 14:48:39 -04:00
Rob Rix
8fb0ba59c6 📝 GAlign. 2016-07-11 14:47:12 -04:00
Rob Rix
f277956c55 Move the section header down. 2016-07-11 14:47:06 -04:00
Rob Rix
2c5810324a 🔥 the (bogus) pair implementation. 2016-07-11 14:46:57 -04:00
Rob Rix
b1b9806e61 📝 alignCofreeWith’s parameters. 2016-07-11 14:41:59 -04:00
Rob Rix
c830c818f4 📝 alignCofreeWith. 2016-07-11 14:33:51 -04:00
Rob Rix
2870cdf1dd Add a function parameter contrasting two terms into e.g. a patch. 2016-07-11 14:33:05 -04:00
Rob Rix
b4c6d92301 Rename c to combined. 2016-07-11 14:29:57 -04:00
Rob Rix
d9c5411568 Rename contrast to compare. 2016-07-11 14:27:38 -04:00
Rob Rix
42f18e9b4f Use the getters instead of destructuring. 2016-07-11 14:03:54 -04:00
Rob Rix
26757185d9 Use a more efficient pattern of recursion. 2016-07-11 14:03:05 -04:00
Rob Rix
40df2f9576 Add an annotation-combining function to alignCofreeWith. 2016-07-11 14:01:45 -04:00
Rob Rix
e23fa323db Rename some type parameters for tidiness’ sake. 2016-07-11 14:00:36 -04:00
Rob Rix
921d0d9356 Clean up the language extensions for the Term module. 2016-07-11 13:59:27 -04:00
Rob Rix
d1219d04f2 🔥 a redundant import. 2016-07-11 13:58:28 -04:00