At Sat, 2 Apr 2016 12:18:45 -0700 (PDT), Pedro Caldeira wrote: > The way you've proposed allocates the union on the heap, is it > possible to declare an union on the stack?
No. Racket's evaluation model doesn't include the notion of an allocation stack that is associated with a continuation. You could implement some form of stack manually, but heap allocation (especially as managed by the GC) is usually the way to go. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.