docs: def dedup_list(l):
      """Given a list (l) will removing duplicates from the list,
         preserving the original order of the list. Assumes that
         the list entrie are hashable."""
      dedup = set()
      return [ x for x in l if not (x in dedup or dedup.add(x))]