> fold
<function>
> fold-while
The name fold-while is used but not defined at
interactions2: line 1, column 0
> lists.fold-while
<function>
> lists.fold
<function>
Tested on horizon too.
This is inconsistent -- either all functions in a module like lists should import implicitly or all should require qualification like lists.fold.
Is there an explanation for why some functions are special and are implicitly imported?
Example lists: http://www.pyret.org/docs/latest/lists.html
Tested on horizon too.
This is inconsistent -- either all functions in a module like
lists
should import implicitly or all should require qualification likelists.fold
.Is there an explanation for why some functions are special and are implicitly imported?