# Module Std_internal.List

    module List: sig .. end

    include Core_list

    val stable_dedup : 'a list -> 'a list

`stable_dedup` Same as `dedup` but maintains the order of the list and doesn't allow compare function to be specified (otherwise, the implementation in terms of Set.t would hide a heavyweight functor instantiation at each call).

    val stable_dedup_staged : compare:('a -> 'a -> int) -> ('a list -> 'a list) Staged.t