2011-08-18 19 views
1

我遵循Sam的decipher tutorial。當他在我的電腦上做8 group時,抱怨說它不知道group功能。如何導入Factor解釋器中的模塊?

(scratchpad) "01101001001000000110011001110101011000110110101101100101011001000010000001111001011011110111010101110010001000000110110101101111011011010000110100001010011000010110111001100100001000000110111001101111011101110010000001100110011011110111001000100000011110010110111101110101" 

--- Data stack: 
"0110100100100000011001100111010101100011011010110110010101100..." 
(scratchpad) 8 group 
1: 8 group 
     ^
No word named 「group」 found in current vocabulary search path 

The following restarts are available: 

:1  Use the grouping vocabulary 
:2  Use the unix.ffi vocabulary 
:3  Use the unix.groups vocabulary 
4 :res Defer word in current vocabulary 

Type :help for debugging help. 

顯然group位於grouping module,但我不知道如何導入模塊中的解釋(在Haskell的GHCI像+m module)。

回答

1

在解釋器中,輸入USE: grouping ;將單個詞彙添加到搜索路徑,或者USING: a b c ;添加詞彙列表。

文檔:USE:USING: