<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">2011/11/25 Sam Tobin-Hochstadt <span dir="ltr"><<a href="mailto:samth@ccs.neu.edu" target="_blank">samth@ccs.neu.edu</a>></span>
<br>
This means that you passed the procedure to an untyped module with the<br>
type `Any'. If you provide a more specific type, it won't be wrapped<br>
like this.<br></blockquote><br>Indeed, I was storing a value of type FunType = (Any -> (T Any)) inside a continuation mark, and then retrieving it for the comparison. I was retrieving the continuation marks with type (Listof Any), using continuation-mark-set->list, which I think is the reason for the error I'm getting. <br>
<br>could the continuation mark put the function in the untyped module you mention?<br><br>However, if I change the expected type to (Listof FunType), I get a type error when calling continuation-mark-set->list, which says that this functions returns (Listof Any).<br>
<br>How can I coerce a (Listof Any) into a (Listof FunType)? <br><br>Or more in general, I'm facing similars problems in my code, where I get something of type Any and I need to coerce it to a more specific type but I can't get it to work. I've tried using ann and assert but it doesn't seems to work :-(<br>
<br>Thanks for all the answers.<br><br>
<br><div class="gmail_quote"><br></div><br>-- <br>Ismael<br><br>