@enforce("a", is_sorted)
@enforce("b", is_sorted)
@enforce("return", is_sorted)
@enforce("a", "b", "return", equal_length)
def sorted_safe_zip(a: List[A], b: List[B]) -> List[Tuple[A, B]]:
return list(zip(a, b))
-
Notifications
You must be signed in to change notification settings - Fork 0
caccavale/contracts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published