Ticket #168 (closed defect)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by dvanhorn

  • status changed from new to closed

Fixed.

Note: See TracTickets for help on using tickets.