【发布时间】:2016-10-02 12:06:31
【问题描述】:
我有一个名为 test.scm 的文件,它看起来像:
(display 5)
当我这样去的时候
cat test.scm | scheme
或者像这样
scheme < test.scm
或者像这样
cat test.scm | scheme > output.txt
我明白了
MIT/GNU Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about interrupts.
Copyright (C) 2011 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Image saved on Sunday February 7, 2016 at 10:35:34 AM
Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41
LIAR/x86-64 4.118 || Edwin 3.116
1 ]=> 5
;Unspecified return value
1 ]=>
End of input stream reached.
Moriturus te saluto.
我必须做什么才能获得以下信息?
5
【问题讨论】:
标签: scheme mit-scheme