dict->keys wrong in cps-header.rkt

14 views
Skip to first unread message

Michael Bradshaw

unread,
Apr 13, 2013, 10:29:28 PM4/13/13
to utah-compiler...@googlegroups.com
Currently dict->keys is defined as:

(define (dict->keys dict)
  (for ([(k _) dict]) k))

But I'm pretty sure it should be:

(define (dict->keys dict)
  (for/list ([(k _) dict]) k))

It's possible others have already pointed this out and I'm just late to the party...

Matt Might

unread,
Apr 14, 2013, 9:34:03 AM4/14/13
to Michael Bradshaw, utah-compiler...@googlegroups.com
Yep. Thanks for catching that.

I'll update the official cps-header.rkt
> --
> You received this message because you are subscribed to the Google Groups
> "Utah Compilers, Spring 2013" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to utah-compilers-spri...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages