Set consolidation: Difference between revisions

Content added Content deleted
Line 672: Line 672:
y <- return $ consolidate [['A','B'], ['B','D']]
y <- return $ consolidate [['A','B'], ['B','D']]
putLn y</lang>
putLn y</lang>

Output:<pre>[['K','I','F','G','H'],['A','C','D','B']]
[['A','B','D']]</pre>


=={{header|F_Sharp|F#}}==
=={{header|F_Sharp|F#}}==