Rob Rix
3edd6c3f56
Enable UndecidableInstances.
2018-10-23 12:15:56 -04:00
Rob Rix
ed2e9f7c44
Drop the redundant parameters to evaluate.
2018-10-23 12:15:26 -04:00
Rob Rix
66188d7c7a
Correct the method names.
2018-10-23 12:15:11 -04:00
Rob Rix
bf411cc8ea
Define a REPL carrier.
2018-10-23 12:14:02 -04:00
Rob Rix
eee94e6aca
handle, not handleState.
2018-10-23 12:09:03 -04:00
Rob Rix
546add053c
Fix some imports.
2018-10-23 12:08:21 -04:00
Rob Rix
55888b1a5f
Specialize evaluateProjectWithCaching to Monovariant addresses.
2018-10-23 12:07:24 -04:00
Rob Rix
8b945859f3
Raise the Eff handlers to Evaluator.
2018-10-23 12:04:45 -04:00
Rob Rix
670f65190c
Raise some handlers.
2018-10-23 12:03:19 -04:00
Rob Rix
05f59347b2
Use runHeap for the heap effect.
2018-10-23 12:01:53 -04:00
Rob Rix
1dc9e997e3
🔥 the redundant parameter to runFresh.
2018-10-23 12:01:38 -04:00
Rob Rix
f545665403
Run the module table effect with the helper.
2018-10-23 12:00:40 -04:00
Rob Rix
80ab393d79
🔥 the redundant parameters to evaluate.
2018-10-23 11:57:37 -04:00
Rob Rix
2bee99d97e
Run trace by printing.
2018-10-23 11:56:17 -04:00
Rob Rix
422d1a6db0
🔥 some redundant Monad constraints.
2018-10-23 11:54:34 -04:00
Rob Rix
9bae2bfcb2
Add a missing Effect constraint.
2018-10-23 11:54:19 -04:00
Rob Rix
e2c64f336a
Run in Eff.
2018-10-23 11:52:45 -04:00
Rob Rix
5b2f070558
Raise some handlers.
2018-10-23 11:51:51 -04:00
Rob Rix
7ac4b5dbcb
🔥 the call to runPythonPackaging for the moment.
2018-10-23 11:51:20 -04:00
Rob Rix
82956152c6
Re-add the WhileC Carrier instance for the concrete domain.
2018-10-23 11:41:16 -04:00
Rob Rix
c4aaa86230
Generalize disjunction over the carrier.
2018-10-23 11:39:09 -04:00
Rob Rix
c53a6aa511
Interpose with an upcast.
2018-10-23 11:30:58 -04:00
Rob Rix
92ac53252e
Define upcasting to InterposeC.
2018-10-23 09:45:33 -04:00
Rob Rix
edbf882fa9
Raise the graph state handler.
2018-10-23 09:43:57 -04:00
Rob Rix
bc094e6014
Add some Effect constraints.
2018-10-23 09:43:26 -04:00
Rob Rix
ee17c526e6
Specify the value type.
2018-10-23 09:41:46 -04:00
Rob Rix
6697e2f9e5
runEvaluator produces Eff.
2018-10-23 09:41:36 -04:00
Rob Rix
0a337d5a25
Eavesdrop without changing the type of analyzeModule.
2018-10-23 09:31:43 -04:00
Rob Rix
f4faaed464
Define upcasting on Eff.
2018-10-23 09:31:11 -04:00
Patrick Thomson
8630d20030
Merge pull request #2229 from github/monadfail-desugaring
...
Turn on `-XMonadFailDesugaring` globally.
2018-10-22 21:44:45 -04:00
Patrick Thomson
316915a80b
Merge branch 'master' into monadfail-desugaring
2018-10-22 21:04:34 -04:00
Patrick Thomson
0134a3ce67
Merge pull request #2228 from github/bump-ts-ruby
...
Bump tree-sitter-ruby.
2018-10-22 21:04:25 -04:00
Rob Rix
21f17ff56f
Clean up a bunch of algebras.
2018-10-22 20:30:07 -04:00
Rob Rix
314aff5d56
Bump higher-order-effects for Resource & some handler helpers.
2018-10-22 20:18:36 -04:00
Rob Rix
11ccb849a6
Fix a dodgy import.
2018-10-22 20:18:16 -04:00
Patrick Thomson
bfee125016
Merge branch 'master' into monadfail-desugaring
2018-10-22 17:43:26 -04:00
Timothy Clem
def59bb851
Merge branch 'master' into bump-ts-ruby
2018-10-22 14:35:16 -07:00
Timothy Clem
d5ddbb390e
Merge pull request #2225 from github/operating-docs-updates
...
Operating docs notes
2018-10-22 14:34:39 -07:00
Patrick Thomson
cffcd15b5e
Merge branch 'master' into bump-ts-ruby
2018-10-22 16:28:25 -04:00
Timothy Clem
8d3e921f6b
Merge branch 'master' into operating-docs-updates
2018-10-22 13:11:09 -07:00
Timothy Clem
d04b9d8dbe
Merge pull request #2219 from github/better-terminal-log-config
...
Check stdout so semanticd logging works well with Procfiles
2018-10-22 13:10:59 -07:00
Patrick Thomson
8800f7072e
Turn on -XMonadFailDesugaring
globally.
...
In the past few years, GHC has been moving to remove the `fail` method
from the definition of `Monad`, a longtime wart, and requiring monads
that fail due to an incomplete pattern match to implement `MonadFail`.
You can read about it[here](https://wiki.haskell.org/MonadFail_Proposal ).
Though this move is still in progress, we can opt into it by turning
on the `-XMonadFailDesugaring` extension.
The matching and rewriting systems will both benefit from this, as the
incomplete pattern match in following rewrite rule will crash without
`-XMonadFailDesugaring`, even though the sensible and correct thing
for the rule to do is call out to its `MonadFail` instance:
```haskell
-- crashes the program without -XMonadFailDesugaring
getReceiver :: Rule a (Ruby.Send term) term
getReceiver = do
(Ruby.Send (Just rec) _ _ _) <- target
pure rec
```
In addition, turning on `MonadFailDesugaring` will warn you if you put
an incomplete pattern match in a monad that doesn't implement `MonadFail`.
This setting will become implicit in GHC 8.6, so this is a good chance
to make sure that we don't introduce any incomplete patterns going forward.
2018-10-22 14:07:48 -04:00
Patrick Thomson
54fb762cf1
Bump tree-sitter-ruby.
...
The bumped version of tree-sitter-ruby did not make it into #2223 due
to an error on my part. This halves the time it takes to parse the
pathological lexer.rb file.
2018-10-22 13:55:52 -04:00
Rob Rix
08c95f894d
Simplify the eavesdropping carriers.
2018-10-22 13:06:59 -04:00
Rob Rix
bfe5406fad
Fix up some type applications.
2018-10-22 13:00:57 -04:00
Rob Rix
119cdad2d2
Raise a bunch of handlers.
2018-10-22 12:58:06 -04:00
Rob Rix
5ea78e922e
Simplify the Modules carrier.
2018-10-22 12:57:58 -04:00
Rob Rix
60b27e84f5
Simplify the collecting carriers.
2018-10-22 12:57:51 -04:00
Rob Rix
4338e5b5b9
Simplify the flow-sensitive carriers.
2018-10-22 12:57:46 -04:00
Rob Rix
9021472361
Simplify the flow-insensitive carriers.
2018-10-22 12:57:39 -04:00