RosettaCodeData/Task/Remove-duplicate-elements/Inform-7/remove-duplicate-elements.inf
2023-07-01 13:44:08 -04:00

5 lines
193 B
INI

To decide which list of Ks is (L - list of values of kind K) without duplicates:
let result be a list of Ks;
repeat with X running through L:
add X to result, if absent;
decide on result.