[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Geiser-users] Entering Racket submodules

From: Diogo F. S. Ramos
Subject: Re: [Geiser-users] Entering Racket submodules
Date: Fri, 07 Jun 2013 02:05:43 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Jose A. Ortega Ruiz" <address@hidden> writes:

>> Is it possible to enter submodules when using Racket?
> Not yet :)
> I haven't even tried, so i'm not sure what effort is involved in
> providing the feature... actually, i'm not even sure it's possible in
> plain racket...

It is possible.  :^)

For example:

$ cat foo.rkt
#lang racket/base

(module bar racket/base
  (define quux 2))

(define quux 4)
$ racket
Welcome to Racket v5.3.4.
> (enter! "foo.rkt")
> quux
> (enter! (submod "foo.rkt" bar))
> quux

reply via email to

[Prev in Thread] Current Thread [Next in Thread]