<div class="gmail_quote">2011/8/4 Robby Findler <span dir="ltr"><<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The blame assignment stuff is wired pretty deep into the contract<br>
system. There isn't currently any way to change that aspect of the<br>
system without doing what you've done below.<br>
<br>
If you can say more about how/why you want to change it, tho, there<br>
maybe some extension to the current API that would work for you and<br>
that we'd be willing to maintain going forward.<br></blockquote><div><br>I defined a new-exn struct to represent exceptions and
defined a raise macro that wraps Racket's raise to throw a new-exn
value. Also, I need to raise the exception thrown by raise-blame-error
inside a parameterize expression. I want to access and modify a
parameter that will be used to construct the new-exn value. <br><br>Thanks<br><br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5"><br>
On Thu, Aug 4, 2011 at 2:30 PM, Ismael Figueroa Palet<br>
<<a href="mailto:ifigueroap@gmail.com">ifigueroap@gmail.com</a>> wrote:<br>
> Greetings,<br>
><br>
> Can someone please point me to documentation on how to create a language<br>
> module so it can be used with #lang? I copied some module and hacked it<br>
> until it worked, but I'm curious to know more details.<br>
><br>
> Also, I tried to modify blame assignment (specifically I want to modify<br>
> raise-blame-error and ideally not change anything else) but the only way I<br>
> found was to copy the contract module and hack it. Since I copied<br>
> internal/unstable APIs my module doesn't work with newer versions of<br>
> Rackets, any ideas how to do this in a more future-compatible way??<br>
><br>
> Thanks in advance<br>
><br>
> --<br>
> Ismael<br>
><br>
><br>
</div></div>> _________________________________________________<br>
> For list-related administrative tasks:<br>
> <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>Ismael<br><br>