Allow arbitrary type casting #895
rvcas
started this conversation in
Core language features
Replies: 1 comment 2 replies
-
Interesting, so what if the left side contains an opaque type? We will prevent that? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea involves allowing expect to let you convert any type to any type and then letting the expect behavior at runtime just behave as it does now. That means that if the shape matches then we can allow it.
Questions
let
in code gen? which leads to 2expect
for this and also use aiken levellet
as well? can let's cast to both Data and anything of the same shape?Beta Was this translation helpful? Give feedback.
All reactions