Ticket #322 (new enhancement)

Opened 14 years ago

Racket v5.1 for/vector

Reported by: Tim Coppieters Owned by: wmfarr
Priority: trivial Milestone:
Component: wmfarr/simple-matrix.plt Keywords:
Cc: Version: (1 1)
Racket Version: 5.1

Description

Since version 5.1 of DrRacket? the for/vector and for*/vector function is standard included in the #lang racket library. So when loading the simple-matrix module some errors are generated:
"module: identifier already imported from a different source"

Maybe removing the for/vector, for*/vector from the module isn't that a bad idea then?

Furthermore the base one is a bit further extended:
#lang racket:
(for/vector (for-clause ...) body ...+)
(for/vector #:length length-expr (for-clause ...) body ...+)

Simple-matrix:
(for/vector length-expr (for-clause ...) body)

Offtopic: I would like to thank you for the module, saved me some time writing it myself, cheers!

Kind regards,
Tim Coppieters.
VUB

Note: See TracTickets for help on using tickets.