iCog-Labs-Dev / metta-moses

Meta Optimization Semantic Evolutionary Search
3 stars 14 forks source link

added a function remove duplicates #54

Closed Nardos-serkalem closed 2 months ago

Nardos-serkalem commented 2 months ago

The is-member function checks if an element x is in a list, returning True if found and False otherwise. The remove-duplicates function uses is-member to remove duplicates from a list, ensuring each element is unique.