recursive tuple types are now invalid (breaking change)
This commit is contained in:
parent
279e897eab
commit
595cc93762
5 changed files with 51 additions and 42 deletions
|
|
@ -61,6 +61,8 @@ proc deduplicate*[T](seq1: seq[T]): seq[T] =
|
|||
result = @[]
|
||||
for itm in items(seq1):
|
||||
if not result.contains(itm): result.add(itm)
|
||||
|
||||
{.deprecated: [distnct: deduplicate].}
|
||||
|
||||
proc zip*[S, T](seq1: seq[S], seq2: seq[T]): seq[tuple[a: S, b: T]] =
|
||||
## Returns a new sequence with a combination of the two input sequences.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue