[plt-scheme] rename-in syntax difficulties (and bug)

From: LordGeoffrey (lordgeoffrey at optushome.com.au)
Date: Sat Jan 10 14:09:26 EST 2009

I am trying to do the following:
#lang scheme
(require (lib "13.ss" "srfi"))   ; Strings
(require (lib "69.ss" "srfi"))   ; Basic hash tables

The produces the error:
module: identifier already imported from a different source in:
  string-hash
  (lib "69.ss" "srfi")
  (lib "13.ss" "srfi")

Which makes sense. Though i am surprised it actually is a different source.

I tried to used rename-in - but was unable to produce a syntax that was 
valid. Any suggestions on how to do the rename are appreciated, or 
possibly a better way to import so the clash doesn't happen at all.

Thanks.

PS: As a side not the editor highlights two libs and gives this error:
unhighlight-range: range not found; start: 196 end: 216 color: (red: 255 
green: 192 blue: 203) caret-space?: #f style: rectangle

 === context ===
/home/geoffrey/plt/collects/framework/private/text.ss:425:15: new-todo
/home/geoffrey/plt/collects/framework/private/text.ss:444:21: todo
/home/geoffrey/plt/collects/framework/private/text.ss:444:21: todo
/home/geoffrey/plt/collects/framework/private/text.ss:352:4: 
after-edit-sequence method in ...work/private/text.ss:91:2
/home/geoffrey/plt/collects/framework/private/color.ss:397:4: 
colorer-callback method in ...ork/private/color.ss:58:2



Posted on the users mailing list.