Rob Rix
|
09ddbc1862
|
📝 EvalClosure.
|
2018-04-30 15:51:28 -04:00 |
|
Rob Rix
|
25eafb5c53
|
Rename Eval to EvalClosure.
|
2018-04-30 15:50:05 -04:00 |
|
joshvera
|
54d2b5a41e
|
Factor out evaluateInScopedEnv
|
2018-04-30 15:48:49 -04:00 |
|
Rob Rix
|
103297c5e0
|
Break the dependency of Value’s MonadValue instance on MonadEvaluatable.
|
2018-04-30 15:45:12 -04:00 |
|
Rob Rix
|
74ddc8da2e
|
Rename evaluateTerm to evaluateClosureBody.
|
2018-04-30 15:37:19 -04:00 |
|
joshvera
|
47bcf721ad
|
Replace ScopedEnvironmentError with EnvironmentLookupError
|
2018-04-30 15:33:32 -04:00 |
|
Rob Rix
|
7e2d181e66
|
Decouple evaluation of closure bodies from Evaluatable.
|
2018-04-30 15:23:17 -04:00 |
|
Rob Rix
|
877b2ed06e
|
Generalize analyzeTerm & analyzeModule to allow the outer effects to differ.
|
2018-04-30 15:12:19 -04:00 |
|
Rob Rix
|
93522f2ac3
|
Rename throwReturn to earlyReturn.
|
2018-04-30 14:52:10 -04:00 |
|
Rob Rix
|
57389da2c9
|
Add a test that we pass arguments correctly.
|
2018-04-30 14:50:16 -04:00 |
|
Rob Rix
|
fab6a80b61
|
🔥 throwException & catchException.
|
2018-04-30 14:25:26 -04:00 |
|
Rob Rix
|
49ec462e52
|
🔥 the Semigroup instance for EvaluatorState.
|
2018-04-30 14:23:37 -04:00 |
|
Rob Rix
|
013b5cb4b7
|
Merge branch 'master' into analyses-provide-and-handle-effects
|
2018-04-30 14:22:09 -04:00 |
|
Rob Rix
|
01d16b1542
|
Rename lower to lowerBound.
|
2018-04-30 14:11:16 -04:00 |
|
Rob Rix
|
545697c586
|
Merge pull request #1783 from github/caller-origin
Push origin when evaluating a closure
|
2018-04-30 13:34:18 -04:00 |
|
joshvera
|
3be662bf3c
|
add docs
|
2018-04-30 12:25:45 -04:00 |
|
joshvera
|
0b4763643d
|
haddock comment
|
2018-04-30 12:19:54 -04:00 |
|
Rob Rix
|
83043ab9a5
|
Merge branch 'master' into caller-origin
|
2018-04-29 15:07:49 -04:00 |
|
Timothy Clem
|
b76c98bc2a
|
Merge pull request #1786 from github/eval-__FILE__
Eval Ruby __FILE__
|
2018-04-27 10:35:53 -07:00 |
|
joshvera
|
a56512a5ac
|
Merge remote-tracking branch 'origin/master' into caller-origin
|
2018-04-27 11:40:47 -04:00 |
|
Timothy Clem
|
a5cc587b85
|
Merge remote-tracking branch 'origin/master' into eval-__FILE__
|
2018-04-27 07:59:06 -07:00 |
|
Timothy Clem
|
d2b47533f7
|
Fix up test
|
2018-04-27 07:56:59 -07:00 |
|
Timothy Clem
|
5c8be10bd5
|
Rename to just File
|
2018-04-27 07:48:47 -07:00 |
|
Rob Rix
|
a13c684d89
|
📝 LoopControl.
|
2018-04-27 10:23:12 -04:00 |
|
Rob Rix
|
499dfe3e92
|
📝 Return.
|
2018-04-27 10:23:08 -04:00 |
|
Rob Rix
|
0720ee9267
|
A tidy module header is a happy module header.
|
2018-04-27 10:11:54 -04:00 |
|
Rob Rix
|
173645a48b
|
🔥 readFileVerbatim.
|
2018-04-27 10:10:43 -04:00 |
|
Rob Rix
|
2fc2090e02
|
Move ValueError & throwValueError into Data.Abstract.Value.
|
2018-04-27 10:09:03 -04:00 |
|
Rob Rix
|
33d68f9d8d
|
Treat breaks as an effect.
|
2018-04-27 10:00:07 -04:00 |
|
Rob Rix
|
2d8d27f645
|
Treat continues as an effect.
|
2018-04-27 09:48:18 -04:00 |
|
Rob Rix
|
54f6c64764
|
Add a heading for the effects.
|
2018-04-27 09:44:05 -04:00 |
|
Rob Rix
|
ef4ad20252
|
Show an error message for uncaught returns.
|
2018-04-27 09:35:22 -04:00 |
|
Rob Rix
|
e7daba2677
|
Note the semantics of resuming uncaught returns.
|
2018-04-27 09:34:03 -04:00 |
|
Rob Rix
|
97c76c7fdc
|
Rename ReturnThrow to Return, and use it as an effect.
|
2018-04-27 09:26:40 -04:00 |
|
Charlie Somerville
|
2cc2b2d8a0
|
Merge pull request #1761 from github/charliesome/environment-semigroup
Remove Semigroup, Reducer, and Monoid instances for Environment
|
2018-04-27 12:56:15 +10:00 |
|
Charlie Somerville
|
3fc8dc39c8
|
emptyEnv -> Empty.empty
|
2018-04-27 12:54:14 +10:00 |
|
Charlie Somerville
|
a33526008e
|
fix up doctest
|
2018-04-27 12:42:33 +10:00 |
|
Charlie Somerville
|
7cdb2625fd
|
fix tests
|
2018-04-27 12:04:48 +10:00 |
|
Charlie Somerville
|
647f9780c0
|
rename mappend/(<>) to mergeEnvs
|
2018-04-27 12:04:48 +10:00 |
|
Charlie Somerville
|
68b8a2742a
|
mempty -> emptyEnv
|
2018-04-27 12:04:48 +10:00 |
|
Charlie Somerville
|
eed957c45e
|
remove Reducer instance for Environment
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
c6df0ed81b
|
use Empty.empty rather than mempty
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
42da6d8c06
|
makeNamespace only needs to take Maybe value, not [value]
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
eb327d7f06
|
ruby only supports single inheritance
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
0b65bee955
|
exports: rewrite toEnvironment in terms of toList/unpairs
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
644c08df93
|
clarify overwrite comment
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
7687122202
|
environment: add unpairs function
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
270bc8acbf
|
environment: implement bind, overwrite in terms of mapMaybe and fromList
|
2018-04-27 12:04:12 +10:00 |
|
Charlie Somerville
|
bf021b0ae5
|
implement Data.Empty for Environment
|
2018-04-27 12:04:12 +10:00 |
|
Timothy Clem
|
2d74919599
|
This is un-used now
|
2018-04-26 13:50:23 -07:00 |
|