Skip to content

Commit

Permalink
make Œb fixed version of ŒṖ (broken for empty list)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Oct 16, 2018
1 parent 9b4fb84 commit 082da0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jelly/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2276,6 +2276,10 @@ def zip_ragged(array):
arity = 1,
call = is_palindrome
),
'Œb': attrdict(
arity = 1,
call = lambda z: partitions(z) if z else [[]]
),
'Œc': attrdict(
arity = 1,
rdepth = 0,
Expand Down

0 comments on commit 082da0e

Please sign in to comment.