[racket] Help needed representing data | 2d hashes?

From: YC (yinso.chen at gmail.com)
Date: Thu Aug 12 05:27:14 EDT 2010

On Thu, Aug 12, 2010 at 2:22 AM, YC <yinso.chen at gmail.com> wrote:

>
> (define A
>   (make-hash (map (lambda (value)
>                     (cons (list-ref 128-A value) ;; key
>                           ;; encoding + value
>                           *(cons (list-ref ENCODING n) value)*))
>                   (.. 0 106))))
>
>
Typo above - should be:

(define A
  (make-hash (map (lambda (value)
                    (cons (list-ref 128-A value) ;; key
                          ;; encoding + value
                          *(cons (list-ref ENCODING value) value)*))
                  (.. 0 106))))


instead.

Cheers,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100812/34cecfe5/attachment.html>

Posted on the users mailing list.