Skip to content

Commit

Permalink
refactor(dcons): update DCons call sites
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jul 17, 2022
1 parent 2bbacf7 commit 09ce729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dcons/src/dcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ export class DCons<T>
default:
const x = this.peek();
this.pop();
return this.cons(x!);
this.prepend(x!);
return this;
}
}

Expand Down

0 comments on commit 09ce729

Please sign in to comment.