[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Number in a module-name
From: |
Nala Ginrut |
Subject: |
Re: Number in a module-name |
Date: |
Fri, 14 Mar 2014 11:49:29 +0800 |
On Thu, 2014-03-13 at 23:52 -0300, Diogo Ramos wrote:
> Is it possible to have a number as a module-name component?
>
> e.g. (define-module (42 bar))
>
Current try-module-autoload will call symbol->string to convert all the
module-name to a module path for loading.
e.g '(a b) ==> _default_load_path_/a/b.scm
There could be a patch to support it. But I'm not sure if it's worth to
do it. Considering the efficient and security, I'm wondering if it's
proper to support any kind of things be the module name: '(a 12 #{.}#)
Anyway, here's a simple patch for it.
0001-Support-numeric-module-name.patch
Description: Text Data