Set consolidation: Difference between revisions
Content added Content deleted
m (Added Sidef) |
(Change unsage IO to monad IO) |
||
Line 663: | Line 663: | ||
| else = conso (r ++ [y]) ys</lang> |
| else = conso (r ++ [y]) ys</lang> |
||
Usage: |
Usage: |
||
<lang ela>open |
<lang ela>open monad io |
||
:::IO |
|||
⚫ | |||
⚫ | |||
do |
|||
{{out}} |
|||
⚫ | |||
<pre>[[K,I,F,G,H],[A,C,D,B]] |
|||
putLn x |
|||
[[A,B,D]]</pre> |
|||
⚫ | |||
putLn y</pre> |
|||
=={{header|F_Sharp|F#}}== |
=={{header|F_Sharp|F#}}== |