<ashpool>
How do I use untyped structs (and functions to work with them) in typed code? Trying to require/typed them as opaque types produces the above error.
<ashpool>
The error message begins with: any-wrap/c: Unable to protect opaque value passed as `Any`
<ashpool>
Do I have to source-dive and figure out the details of implementation of each type I intend to use?
<shawnw>
Use #:struct in require/typed?
<ashpool>
Using #:struct leads to another error: only-in: identifier `struct:unweighted-graph' not included in nested require spec
<ashpool>
I'm not sure what that means :( The struct is present in the source code and I did my best to assign appropriate types to its fields its fields
<shawnw>
After actually looking at that paste, I found https://stackoverflow.com/q/65386334/9952196 -- you're not the only person to have this problem. It's even the same module in the question.
<ashpool>
Thank you! I also had this exact problem with another popular library (rebellion), so I assumed I was doing something wrong rather than it being a library problem
<ashpool>
That opaque struct workaround from stackoverflow is... really something