[racket-dev] [racket] getting symbol documentation URL quickly within Emacs

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Jun 28 10:02:22 EDT 2011

On Tue, Jun 28, 2011 at 9:58 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> On Jun 28, 2011, at 9:55 AM, Eli Barzilay wrote:
>
>>> (2) things from libraries can be excluded from specific languages
>>>     because we know they won't run
>>
>> That won't work right too...  Should I list a whole bunch of modules
>> for my language?  What happens when one of these modules becomes
>> compatible when I or the module's author change something?
>
>
> So you're working in #lang racket as a naive Racket beginner, and you find some r6rs library that uses set-car!. Hey what a great idea! That enables me to do all the things I dutifully learned in a data structure course on linked lists. So I require it and it fails ...
>
> Yes I think we should be able to specify the list of 'good' xor 'bad' libraries, whichever is shorter.

This should work fine:

#lang racket
(require my-r6rs-lib)
(my-r6-fun (mlist 1 2 3))

I can't think of any non-trivial language with `require' where you can
divide libraries sensibly into "good" and "bad".

-- 
sam th
samth at ccs.neu.edu



Posted on the dev mailing list.