Rob Rix
26107bf1a0
Disallow specialization of getConfiguration.
2018-03-12 14:44:27 -04:00
Rob Rix
1ff21bf120
Collect after analyzing each term.
2018-03-12 14:42:52 -04:00
Rob Rix
845dcdfb80
Re-add the gc/reachable functions.
2018-03-12 14:38:50 -04:00
Rob Rix
efb70fbf7e
Require a reader for the live set.
2018-03-12 14:36:59 -04:00
Rob Rix
9d7d604fb6
Define a MonadGC instance when we have a live set in the effects.
2018-03-12 14:36:13 -04:00
Rob Rix
d39c5758b9
Define MonadGC.
2018-03-12 14:35:57 -04:00
Rob Rix
8d1b80e599
Define a simple passthrough Collecting analysis.
2018-03-12 14:31:24 -04:00
Patrick Thomson
dfc4d786e5
documentation
2018-03-12 14:24:36 -04:00
Rob Rix
31dae8f671
🔥 Control.Monad.Effect.GC.
2018-03-12 14:24:28 -04:00
Patrick Thomson
e8c7389ffe
Evaluatable instances for VariableDeclarations and tuple literals.
...
The VariableDeclaration instance just shells out to that for
Assignment, but required the addition of a concrete tuple typle for
cases such as `var x = 1, y = 2`. As an added bonus, we now get tuple
evaluations in Python.
This required a rejiggering of the Value type in Data.Abstract.Value -
it is now a newtype over the union that contains another Value type
recursively, analogous how Fix ties the knot over infinitely-nested
Functor values.
2018-03-12 14:19:29 -04:00
Rob Rix
371a4ae02b
Whoops, semigroups snuck back in there.
2018-03-12 12:56:47 -04:00
Rob Rix
7794d9423b
Merge branch 'master' into re-enable-tracing-analyses
2018-03-12 12:09:13 -04:00
Rob Rix
4e4a61f8fb
Tweak to the docs for gather.
2018-03-12 11:42:46 -04:00
Rob Rix
35718fca96
Resume taking an explicit constructor in gather so it doesn’t have to be annotated with the type.
2018-03-12 11:42:14 -04:00
Rob Rix
82c578ed0d
📝 raise & lower.
2018-03-12 11:39:51 -04:00
Rob Rix
80f5a4e024
🔥 redundant extensions.
2018-03-12 11:37:56 -04:00
Rob Rix
fa4a74c3c1
Give a kind signature for Effectful’s parameter.
2018-03-12 11:37:23 -04:00
Rob Rix
5c415fee15
📝 Effectful.
2018-03-12 11:37:06 -04:00
Rob Rix
0171811da4
📝 trace.
2018-03-12 11:34:37 -04:00
Patrick Thomson
288308e6c0
Merge pull request #1521 from github/go-evaluation
...
Support evaluating Go files
2018-03-12 11:32:31 -04:00
Rob Rix
b21de35de8
More spacing.
2018-03-12 11:31:32 -04:00
Rob Rix
8cb9298f4c
📝 EvaluatingEffects.
2018-03-12 11:24:30 -04:00
Rob Rix
ecd0252c9c
📝 analyzeTerm.
2018-03-12 11:23:33 -04:00
Patrick Thomson
668fc45e63
add evaluateGoFile
2018-03-12 11:23:14 -04:00
Rob Rix
a222b10ded
📝 Caching’s RequiredEffects.
2018-03-12 11:22:15 -04:00
Rob Rix
63f8b113fd
📝 the CachingEffects list.
2018-03-12 11:21:13 -04:00
Rob Rix
3ef27e495f
Spacing.
2018-03-12 11:19:52 -04:00
Patrick Thomson
8bebe26ea9
use the canonical definition of interface
2018-03-12 11:18:14 -04:00
Rob Rix
3bcb30dd67
📝 runAnalysis.
2018-03-12 11:17:42 -04:00
Patrick Thomson
8334619f95
DRY
2018-03-12 11:15:21 -04:00
Rob Rix
c4fa7d54a9
📝 RequiredEffects.
2018-03-12 11:14:23 -04:00
Rob Rix
e77553a3f0
📝 MonadCaching.
2018-03-12 11:11:49 -04:00
Patrick Thomson
547c2103b1
Merge remote-tracking branch 'origin/master' into go-evaluation
2018-03-12 11:09:56 -04:00
Patrick Thomson
69c1a53e3e
Merge pull request #1540 from github/criterion
...
Add evaluation benchmarks
2018-03-12 11:07:15 -04:00
Patrick Thomson
46f4638497
Merge remote-tracking branch 'origin/master' into criterion
2018-03-12 10:53:50 -04:00
Patrick Thomson
6d5561f9b9
fix misalignment
2018-03-12 10:51:07 -04:00
Rob Rix
7f70c6d7e7
📝 CachingAnalysis.
2018-03-12 10:45:17 -04:00
Patrick Thomson
6f6f90ac3b
Add Show constraint to MonadValue to improve error messages.
...
Someday we will probably want our own bespoke `Debug` class so as to
save on compile times associated with generating `Show` instances. But
this is fine for now, and will also improve #1547 .
2018-03-12 10:42:52 -04:00
Rob Rix
00a6c1ad3d
📝 runAnalysis.
2018-03-12 10:38:32 -04:00
Rob Rix
52afe01b00
Reformat the signature for runAnalysis.
2018-03-12 10:37:35 -04:00
Rob Rix
848e78f959
📝 liftAnalyze.
2018-03-12 10:36:51 -04:00
Rob Rix
d615c38132
🔥 liftEvaluate.
2018-03-12 10:35:22 -04:00
Rob Rix
06be4ab967
📝 evaluateModule.
2018-03-12 10:33:27 -04:00
Patrick Thomson
8f7761ccc1
Merge pull request #1546 from github/weeder-pass
...
Initial pass fixing errors raised by `weeder`.
2018-03-12 10:32:12 -04:00
Rob Rix
a6c1b3663d
🔥 some unnecessary qualification.
2018-03-12 10:29:45 -04:00
Rob Rix
1e3f4a0481
Give a type signature for parseFile.
2018-03-12 10:27:53 -04:00
Rob Rix
8101cde85e
Slightly less clever definition of parseFile.
2018-03-12 10:27:24 -04:00
Rob Rix
c4f11ea6f3
Import monoidal maps under Monoidal.
2018-03-12 10:22:55 -04:00
Patrick Thomson
8c2ffa6d8e
Merge remote-tracking branch 'origin/master' into criterion
2018-03-12 10:22:41 -04:00
Patrick Thomson
ee2cbf9423
Merge remote-tracking branch 'origin/master' into weeder-pass
2018-03-12 10:12:30 -04:00