delete list comprehension (#12392)
The `lc` macro is now part of `graveyard` repository.
This commit is contained in:
parent
c85e266d1d
commit
2acf74d458
3 changed files with 1 additions and 67 deletions
|
|
@ -92,11 +92,3 @@ proc foldLeft*[T,U](xs: List[T], z: U, f: (U, T) -> U): U =
|
|||
case xs.isEmpty
|
||||
of true: z
|
||||
else: foldLeft(xs.tail, f(z, xs.head), f)
|
||||
|
||||
suite "unittest compilation error":
|
||||
|
||||
test "issue 3313":
|
||||
let lst = lc[$x | (x <- 'a'..'z'), string].asList
|
||||
|
||||
let lstCopy = lst.dup
|
||||
check: lstCopy == lst
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue