Is there any replacement for unsafe_coerce? #4223
Unanswered
RudolfVonKrugstein
asked this question in
Questions & support
Replies: 1 comment
-
There is not, no. Only sound APIs are exposed now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just noticed, that in newer version of
gleam_stdlib
thedynamic.unsafe_coerce
function has been removed.I am using
process.selecting_record2
in a context, where I knoe the incoming data is of a specific type in gleam, but I have no Idea how to convert theDynamic
to the specific gleam type.Is there a replacement for
unsafe_coerce
that I am not seeing? Or another way of doing this?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions