On Sunday, December 18, 2011, Niitsuma Hirotaka
wrote:
> Thank you.
> I clearly understand.
>
> By the way,
> Are there standard way exporting global variable from some module ?
I usually avoid global name exports unless the name stands for a constant
value. Otherwise, I may export a parameter
Thank you.
I clearly understand.
By the way,
Are there standard way exporting global variable from some module ?
> Does my expectation surprise you, or does this match what you'd expect as
> well?
_
For list-related administrative tasks:
http://
On Sunday, December 18, 2011, Niitsuma Hirotaka
wrote:
> How about this?
> http://d.hatena.ne.jp/niitsuma/20081113/1324207362
> I add some comment
>
Ok, thanks for posting that code.
Do you expect modules to be re-invoked on every require? I am trying to
understand your concern about "valid beh
How about this?
http://d.hatena.ne.jp/niitsuma/20081113/1324207362
I add some comment
2011/12/18 Danny Yoo :
>
>
> On Saturday, December 17, 2011, Niitsuma Hirotaka
> wrote:
>> Is this valid behavior?
>>
>
> The sub.scm file you posted looks malformed, so some copy-and-paste error
> probably happ
On Saturday, December 17, 2011, Niitsuma Hirotaka <
hirotaka.niits...@gmail.com> wrote:
> Is this valid behavior?
>
The sub.scm file you posted looks malformed, so some copy-and-paste error
probably happened.
Otherwise, can you also say what you expected to see?
__
Is this valid behavior?
-sub-sub.scm--
#lang racket
(provide my-global-var print-my-global-var set-my-global-var!)
(define my-global-var "global in sub-sub")
(define (print-my-global-var) (display my-global-var) (newline))
(define (set-my-global-var! v) (set! my-global-var v))
---
6 matches
Mail list logo