Skip to content

Commit 09ce729

Browse files
refactor(dcons): update DCons call sites
1 parent 2bbacf7 commit 09ce729

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/dcons/src/dcons.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ export class DCons<T>
242242
default:
243243
const x = this.peek();
244244
this.pop();
245-
return this.cons(x!);
245+
this.prepend(x!);
246+
return this;
246247
}
247248
}
248249

0 commit comments

Comments
 (0)