Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

dedup_list

list.dedup_list

 => 
list list.A
[Contains abstract features]
filter out consecutive duplicate elements and return result as a list.

Keep the order of elements unchanged.

ex.
[1,2,2,3,2,2,2,4].dedup_list = [1,2,3,2,4]
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)