-proper_spec_map_rev() ->
- ?FORALL({L, F}, {type_l(), type_f()},
- hope_list:map_rev(L, F) == lists:reverse(lists:map(F, L))
- ).
-
-proper_spec_map_slow() ->
- ?FORALL({L, F}, {type_l(), type_f()},
- hope_list:map_slow(L, F) == lists:map(F, L)
- ).
-
-proper_spec_map() ->
- ?FORALL({L, F}, {type_l(), type_f()},
- hope_list:map(L, F) == lists:map(F, L)
- ).
-
-proper_spec_map_3() ->
- ?FORALL({L, F, N}, {type_l(), type_f(), ?type:non_neg_integer()},
- hope_list:map(L, F, N) == lists:map(F, L)
- ).
-
-proper_spec_prop_unique_preserve_order() ->
- ?FORALL(L, ?type:list(),
- begin
- Duplicates = L -- lists:usort(L),
- hope_list:unique_preserve_order(L) ==
- lists:reverse(lists:reverse(L) -- Duplicates)
- end).
-