Added a method dedup which removes duplicates from a sorted list.
Fixed type:make-* to return the correct types.