Skip to content

Commit c191acc

Browse files
committed
add top-level chop
1 parent 204941c commit c191acc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/pattern.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,7 @@ export function pr(args) {
13861386
}
13871387

13881388
export const add = curry((a, pat) => pat.add(a));
1389+
export const chop = curry((a, pat) => pat.chop(a))
13891390
export const chunk = curry((a, pat) => pat.chunk(a));
13901391
export const chunkBack = curry((a, pat) => pat.chunkBack(a));
13911392
export const div = curry((a, pat) => pat.div(a));

0 commit comments

Comments
 (0)