1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00
Commit Graph

22734 Commits

Author SHA1 Message Date
Rob Rix
2d63f5cdfd Revert "Hide the Delete typeclass."
This reverts commit 41546b367250750616ad5eaab3a8e5b7370a8000.
2018-05-23 13:28:38 -04:00
Rob Rix
9e02243e58 Define a handler for Unit effects.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 13:13:40 -04:00
Rob Rix
bb79415ec0 Define the (curried) const function.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:52:42 -04:00
Rob Rix
b11ad895f4 Expect closed values.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:51:32 -04:00
Rob Rix
09b5dd8f33 Define the identity function.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:49:28 -04:00
Rob Rix
a8c68e40b1 Define a helper to build lambdas with gensym’d names.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:49:00 -04:00
Rob Rix
a368e8d9f4 Define variable' requests.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:48:39 -04:00
Rob Rix
433aa96cd7 Define a Variable effect.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:48:31 -04:00
Rob Rix
49fe219908 Define a unit' request.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:48:21 -04:00
Rob Rix
41854f6bbc Define a Unit effect type.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:48:11 -04:00
Rob Rix
3200ce88a7 Rename type variables to TVar.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:47:57 -04:00
Rick Winfrey
a11fa704f9 Bump haskell-tree-sitter
- Adds tree-sitter-haskell bindings
2018-05-23 09:44:58 -07:00
Patrick Thomson
168f1bea3c Merge pull request #1881 from github/strict-equals
Add strict-equality function.
2018-05-23 12:38:56 -04:00
Rob Rix
10cf048dfc Specialize to m effects.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:27:34 -04:00
Rob Rix
c9d8a82f12 Define a smart constructor for Call.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:26:36 -04:00
Rob Rix
53e9daad79 Close over alloc/assign.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:24:33 -04:00
Rob Rix
8d2b48aa59 Lift handlers into Value.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:22:05 -04:00
Rob Rix
20a4ccf7f5 Handle self-referential effects lists for Types.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:14:40 -04:00
Patrick Thomson
a7f9633319 typo 2018-05-23 12:10:16 -04:00
Rob Rix
fa6af66a65 Handle self-referential effects lists.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:04:49 -04:00
Rob Rix
c8a64a5693 Add a smart constructor for Lambda.
Co-Authored-By: Patrick Thomson <patrick.william.thomson@gmail.com>
2018-05-23 12:04:22 -04:00
Patrick Thomson
7da61bd4c9 Merge branch 'master' into strict-equals 2018-05-23 11:33:32 -04:00
Patrick Thomson
eaa54a3230 Add strict-equality function.
TypeScript, JavaScript, and PHP support an === operator, which
corresponds to strict equality (usually the equality you want). I've
added a constructor to Comparison that takes care of this. Actually
implementing non-strict equality for the above languages will have to
wait until we can build behavior a la carte.

I chose not to add Ruby's case-equality operator, though it uses ===,
since the behavior is so different. (For example, a === a is not
always true over Ruby's ===).
2018-05-23 11:28:31 -04:00
Rob Rix
531e9892ba Hide the Delete typeclass. 2018-05-23 10:47:31 -04:00
Rob Rix
a3d4ea1140 Bump effects for https://github.com/joshvera/effects/pull/48 2018-05-23 10:46:31 -04:00
Josh Vera
c868aba53e Merge pull request #1865 from github/fix-module-inclusion-edges
Fix module inclusion edges
2018-05-23 10:31:21 -04:00
Rob Rix
115e887739 Merge branch 'master' into decompose-values 2018-05-23 09:59:16 -04:00
Rob Rix
39e4f6cc0a Use prettyShow from .ghci. 2018-05-23 09:48:14 -04:00
Rob Rix
6c1a4e4aca Add a helper to pretty-print Show-able values. 2018-05-23 09:48:02 -04:00
Rob Rix
5718ebadff Add a flag to diff with Show. 2018-05-23 09:41:50 -04:00
Rob Rix
cfd6292746 Add a flag to parse with Show. 2018-05-23 09:41:13 -04:00
Rob Rix
f7e0a6b6cc Add a Show term renderer. 2018-05-23 09:40:20 -04:00
Rob Rix
544890f40b Alphabetize. 2018-05-23 09:39:33 -04:00
Rob Rix
552bc8f468 Alphabetize. 2018-05-23 09:38:42 -04:00
Rob Rix
001c1cab16 Add a Show diff renderer. 2018-05-23 09:38:06 -04:00
Rob Rix
3808a5ef8c Add a CanDiff synonym abstracting the typeclasses we need for diffing. 2018-05-23 09:37:11 -04:00
Rob Rix
3a03fbb1c1 Add a CLI arg to Show ts-parse trees. 2018-05-23 09:32:45 -04:00
Rob Rix
a48356d287 Add support to serialize ASTs by Show. 2018-05-23 09:31:53 -04:00
Rob Rix
266d03d240 Left-to-right flow. 2018-05-23 09:30:30 -04:00
Rob Rix
f9266e01e4 Append newlines after Show output. 2018-05-23 09:27:39 -04:00
Rob Rix
9e7324b3c7 Simplify the extracted graph. 2018-05-23 09:26:42 -04:00
Rob Rix
7a653e80e3 Add the Show serializer to the options for graph commands. 2018-05-23 09:06:20 -04:00
Rob Rix
d02a817725 🔥 SomeFormat. 2018-05-23 09:04:43 -04:00
Rob Rix
54a4f289f7 Produce colour output with the Show serializer. 2018-05-23 09:00:29 -04:00
Rob Rix
6c35dd77ce Add a flag to runSerialize to enable/disable colour output. 2018-05-23 08:57:24 -04:00
Rob Rix
57607dc0e2 Merge branch 'master' into fix-module-inclusion-edges 2018-05-22 21:00:25 -04:00
Timothy Clem
9710ef1681 Merge branch 'master' into deployment-setup 2018-05-22 15:09:00 -07:00
Patrick Thomson
e168b08adc Merge pull request #1875 from github/fast-builds-by-default
Make builds run at -O0 by default, except for CI/deploy.
2018-05-22 18:05:28 -04:00
Timothy Clem
623a7bafdc Auto-merged master into deployment-setup on deployment 2018-05-22 14:58:16 -07:00
Patrick Thomson
2edafbf1d1 Merge branch 'master' into fast-builds-by-default 2018-05-22 17:52:18 -04:00