[racket] Where do I find the module/rkt file for the list sort available in Racket
If you open a file that refers to 'sort' in DrRacket, eg one containing this:
#lang racket
sort
you can right-click on "open defining file" and then you'll see the
error checking wrapper function. In it, you'll see "raw-sort". Right
click on that identifier, select "open defining file" again and you'll
open a 200+ line file that contains only the sorting implementation.
hth,
Robby
On Sun, Dec 14, 2014 at 9:08 PM, vijayraman <vijay.raman at gmail.com> wrote:
>
> Hi,
>
> I dont seem to be able to find the implementation sources for functions by
> searching through the modules listed for a #lang.
>
> How do I do this? I tried to locate where the sort function for lists
> reside, and it isn't in racket/list.
>
> Thanks and Regards,
> Vijay
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users