Ticket #168 (closed defect)
list-ref doesn't work
Reported by: | dvanhorn | Owned by: | dvanhorn |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | dvanhorn/ralist.plt | Keywords: | |
Cc: | Version: | (1 2) | |
Racket Version: | 4.1.5.1 |
Description
#lang scheme
(require (prefix-in ra: (planet dvanhorn/ralist:1:2)))
(ra:list-ref (ra:build-list 10 (lambda (i) i)) 5)
;; expect: 5
;; got: #s((node tree 1) 4 5 #s((leaf tree 1) 6))
Change History
Note: See
TracTickets for help on using
tickets.