Anonymous user
Knuth's algorithm S: Difference between revisions
→{{header|Icon}} and {{header|Unicon}}
No edit summary |
|||
Line 285:
defined in the <tt>UniLib</tt> library and so is Unicon specific. However,
the solution can be modified to work in Icon as well.
Technically, <tt>s_of_n_creator</tt> returns a <i>co-expression</i>,
not a function. In Unicon, the calling syntax for this
co-expression is indistinguishable from that of a function.
<lang unicon>import Utils
|