how to remove duplicates of facts ?
Posted: 19 Jan 2015 15:39
1>
How to remove duplicates of [ facts ] instead of list?
which are both not exactly what I want.
2>
Moreover,after removing duplicates of facts,
could you sort the facts ?
Could you recommend some proper function to settle these little problems?
Thank you all for pacient answering ,especially Thomas!
How to remove duplicates of [ facts ] instead of list?
Code: Select all
list::removeDuplicates/1->
removeDuplicates : (Elem* List)
-> Elem* Rest.
Code: Select all
list::sort/2->
sort : (
Elem* List,
sortOrder Order)
-> Elem* Sorted.
2>
Moreover,after removing duplicates of facts,
could you sort the facts ?
Could you recommend some proper function to settle these little problems?
Thank you all for pacient answering ,especially Thomas!
Code: Select all