Module 在鸡肉方案模块中导入SRFI

Module 在鸡肉方案模块中导入SRFI,module,chicken-scheme,srfi,Module,Chicken Scheme,Srfi,我想知道为什么这不起作用: (module testModule (sayHello) (import chicken scheme) (define (sayHello) (format #t "Hello\n"))) 当我用csi启动此文件时,它会说: 警告:在以下位置引用可能未绑定的标识符“格式”: 但是写入了内置的srfi-28(其中格式)。事实上,如果我尝试这个 (module testModule (sayHello) (import chicken sche

我想知道为什么这不起作用:

(module testModule (sayHello)
  (import chicken scheme)

  (define (sayHello)
    (format #t "Hello\n")))
当我用
csi
启动此文件时,它会说:

警告:在以下位置引用可能未绑定的标识符“格式”:

但是写入了内置的
srfi-28
(其中
格式
)。事实上,如果我尝试这个

(module testModule (sayHello)
  (import chicken scheme)
  (use srfi-28)

  (define (sayHello)
    (format #t "Hello\n")))
……上面说:

错误:(导入)在(导入…)的扩展期间-无法从未定义的模块导入:srfi-28

为什么??如何创建使用SRFI 28的模块


我还试图通过
鸡肉安装
安装srfi-28,但鸡蛋确实不存在。

这是罪过,问题是该装置不存在
srfi-28
。 我简单地解决了导入
extras
单元的问题,该单元实现了
格式
功能

(module testModule (sayHello)
  (import chicken scheme)
  (use extras)

  (define (sayHello)
    (format #t "ciao")))