Closed jdunkerley closed 3 months ago
I am using following program to test the problem:
from Standard.Base import all
type C
A
main =
fn x = x+20
x filter = Panic.catch Any (filter:C) err->
[err, filter]
c2 filter = case filter of
_:Function -> x filter
_ -> filter
r3 = c2 fn
r4 = c2 ..A
[r3, r4]
yes, it doesn't work properly. The problem is that (filter:C)
is evaluated sooner than Panic.catch
is called. E.g. it is evaluated as eager argument, not suspended one.
The simplest workaround is to use (identity filter:C)
Jaroslav Tulach reports a new STANDUP for yesterday (2024-06-12):
Progress: - PR for #10236: https://github.com/enso-org/enso/pull/10262
runtime-parser
can publishM2
: https://github.com/enso-org/enso/pull/7054/commits/b0860e8551d9ca33cf4e8d57efb1b3d7f5f00571GitHubPull Request Description Fixes #10237 by avoiding creation of ReadArgumentCheckNode when the requested type allows Any. Checklist Please ensure that the following checklist has been satisfied befor...
GitHubHybrid visual and textual functional programming. Contribute to enso-org/enso development by creating an account on GitHub.
Jaroslav Tulach reports a new STANDUP for yesterday (2024-06-13):
Progress: - Persistance API fixes: https://github.com/enso-org/enso/pull/7054/commits/ca528a05e25fd0b7e9a0037a84a5ac96ce326ea3
Jaroslav Tulach reports a new STANDUP for yesterday (2024-06-14):
Progress: - new version of the VSCode extension released on Marketplace thanks to @ola
works but