Rob Rix
|
03fda04500
|
Compose in the other direction.
|
2018-12-10 09:46:39 -05:00 |
|
Rob Rix
|
f96fb53501
|
Factor out the kleisli composition.
|
2018-12-10 09:46:05 -05:00 |
|
Rob Rix
|
9116072186
|
Make the ref parameter throw on failure.
|
2018-12-10 09:44:54 -05:00 |
|
Rob Rix
|
e0e8b1b566
|
Add a RefError constructor to EvalError.
|
2018-12-10 09:42:34 -05:00 |
|
Rob Rix
|
4c59a6bafa
|
eval takes a reference evaluator.
|
2018-12-10 09:32:02 -05:00 |
|
Rob Rix
|
231e0f81b7
|
Give eval a dummy parameter.
|
2018-12-07 16:16:23 -05:00 |
|
Rob Rix
|
0cf03b6abe
|
Give ref an extra parameter for the slot-recurrence function.
|
2018-12-07 16:00:53 -05:00 |
|
Rob Rix
|
4e18bd6a40
|
Simplify the open-recursion since our host language is call-by-need.
|
2018-12-07 15:55:35 -05:00 |
|
Rob Rix
|
0b36f9bad1
|
Module results hold values.
|
2018-12-07 15:23:03 -05:00 |
|
Rob Rix
|
76537758fc
|
Generalize graphingTerms over the result type.
|
2018-12-07 15:02:48 -05:00 |
|
Rob Rix
|
9acacd0716
|
runFunction takes an evaluator producing values.
|
2018-12-07 14:49:37 -05:00 |
|
Rob Rix
|
df4413f2a4
|
Calls return values.
|
2018-12-07 14:46:41 -05:00 |
|
Rob Rix
|
a51e5f67c1
|
They do.
|
2018-12-07 14:33:45 -05:00 |
|
Rob Rix
|
80ce9ab357
|
Functions return values.
|
2018-12-07 14:30:47 -05:00 |
|
Rob Rix
|
ed073ba245
|
While operates on values, not ValueRefs.
|
2018-12-07 12:59:01 -05:00 |
|
Rob Rix
|
36a7c31166
|
LoopControl operates on values, not ValueRefs.
|
2018-12-07 12:52:51 -05:00 |
|
Rob Rix
|
09d616788e
|
Return holds a value, not a ValueRef.
|
2018-12-07 12:38:16 -05:00 |
|
Rob Rix
|
ba2cabc979
|
Revert "Abbreviate the Effect instance for Modules."
This reverts commit d51f3ec67b35c1ed460617b5561016afa30ae9ec.
|
2018-12-07 11:46:05 -05:00 |
|
Rob Rix
|
d82d0ad584
|
Revert "Rename resolve to resolvePaths."
This reverts commit 6c2cd2a6c9a56956b6d6bae61510939b21f25080.
|
2018-12-07 11:46:01 -05:00 |
|
Rob Rix
|
3c2a4241e8
|
Rename resolve to ref.
|
2018-12-07 11:45:29 -05:00 |
|
Rob Rix
|
23e3a688f7
|
Resolve MemberAccesses.
|
2018-12-07 11:40:11 -05:00 |
|
Rob Rix
|
3fd19e07d8
|
Specialize resolve for Identifier.
|
2018-12-07 11:32:13 -05:00 |
|
Rob Rix
|
260a44e7a0
|
Constrain callers of resolve a little further.
|
2018-12-07 11:31:25 -05:00 |
|
Rob Rix
|
ca6fad7c06
|
resolve returns in Maybe.
|
2018-12-07 11:01:46 -05:00 |
|
Rob Rix
|
f59cdd394b
|
Add a resolve method to Evaluatable with a (bad) default definition.
|
2018-12-07 10:34:40 -05:00 |
|
Rob Rix
|
adffd6b9c4
|
Rename resolve to resolvePaths.
|
2018-12-07 09:52:20 -05:00 |
|
Rob Rix
|
5189c1204a
|
Abbreviate the Effect instance for Modules.
|
2018-12-07 09:48:58 -05:00 |
|
joshvera
|
c39ed82293
|
Remove PHP NamespaceName instance
|
2018-12-06 17:30:30 -05:00 |
|
joshvera
|
ec83947033
|
Remove PHP Namespace instance
|
2018-12-06 17:30:03 -05:00 |
|
joshvera
|
6688380c15
|
Remove comments
|
2018-12-06 17:29:55 -05:00 |
|
joshvera
|
1b23d1d0dd
|
Merge remote-tracking branch 'origin/master' into heap-frames
|
2018-12-06 16:32:38 -05:00 |
|
joshvera
|
192943889b
|
delint
|
2018-12-06 16:16:25 -05:00 |
|
joshvera
|
14a47d8711
|
parens
|
2018-12-06 15:56:42 -05:00 |
|
joshvera
|
30cb4f43f6
|
Remove unused bind
|
2018-12-06 15:53:58 -05:00 |
|
Rob Rix
|
0b6e3430de
|
Clarify that we’re returning the first path we find.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 15:48:55 -05:00 |
|
Rob Rix
|
2cd7257429
|
Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames
|
2018-12-06 15:44:27 -05:00 |
|
Rob Rix
|
a4ec6dc3a8
|
Generalize foldrGraph to foldGraph producing a Monoidal value.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 15:42:36 -05:00 |
|
joshvera
|
34d5825cf9
|
Implement Let
|
2018-12-06 15:29:30 -05:00 |
|
joshvera
|
61a0a9052f
|
Fix tuple instance
|
2018-12-06 15:29:24 -05:00 |
|
joshvera
|
9b7670e655
|
Implement tuple eval
|
2018-12-06 15:22:33 -05:00 |
|
joshvera
|
5f395923a7
|
Implement Array eval
|
2018-12-06 15:22:06 -05:00 |
|
Rob Rix
|
664877024d
|
Find paths uniformly using findPath.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 15:18:39 -05:00 |
|
Rob Rix
|
e5c5d36c3c
|
Define a function to find a path to a declaration through a graph.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 15:11:22 -05:00 |
|
Rob Rix
|
db698dbd98
|
Build up paths using foldrGraph.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 15:04:40 -05:00 |
|
Rob Rix
|
c278733fd7
|
Define a generic graph traversal operation.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 15:02:59 -05:00 |
|
Rob Rix
|
adfcb37231
|
Move the Path instances into a deriving clause.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 13:11:44 -05:00 |
|
Rob Rix
|
b28d877845
|
🔥 a redundant language extension.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 13:09:35 -05:00 |
|
Rob Rix
|
dcd751f4b9
|
Define Path as an ordinary datatype.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 13:08:56 -05:00 |
|
Rob Rix
|
79e235ce34
|
Derive the instances for ScopeGraph in a deriving clause.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 13:06:24 -05:00 |
|
Rob Rix
|
1e7c8d63f6
|
Factor the module info & span into BaseError’s Eq1 instance.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-12-06 13:02:37 -05:00 |
|