Closed GolfingSuccess closed 7 years ago
@GolfingSuccess wouldn't call = sys.stdin.read
work for Øƈ
? Wrapping it in a lambda just seems excessive.
@SatansSon Sorry, I thought I didn't type the lambda:
part, fixed.
@GolfingSuccess You should try to follow the Naming Conventions.
@miles-cg I tried, but I wanted some single-byte monads...maybe I'll change them. BTW I followed the uppercase convention, but then couldn't follow the hook convention too, we're running out of single bytes for that purpose (although I could use Ẉ
and Ẓ
for the two hooked ones, because the inverse of Z
is Z
itself, and the inverse of W
is X
).
NOTE: This PR has been closed since it adheres to an older version of the Jelly programming language.
Added a load of new links and quicks. Here is an explanation of each one:
Ẓ
: z + 2 (same as+2$
or‘‘$
or‘⁺$
or‘2¡
). (not sure about this one)Ẉ
: z - 2 (same as_2$
or’’$
or’⁺$
or’2¡
). (not sure about this one too)Æ«
: 2z or 1 << z (same as2*$
). (again not sure)Øƈ
: Get all input at once (no eval) (same as“”;ƈ$ÐL¤
).ɲ
: Call next link as a nilad quick (same as(link index + 1)£
).ÐÞ
: Reversed keyed sort quick (same asÞṚ(max arity ¤$¥ quick)
).ŒṢ
: Reversed sort (same asṢṚ$
).Ż
: Truncate to shortest length (same asḣ€L€Ṃ$$
).(note: there might be bugs, although I've plucked some out already)
EDIT: I have improved the use of Jelly's naming conventions in this list. There might be a few problems because of the limited number of available single-byte tokens. Some may be:
Ẓ
andẈ
for +2 and -2, since they could also represent the inverses ofZ
andW
. However,Z
doesn't have an inverse due to auto-wrapping non-lists in a list andW
's single-byte inverse isX
.