20 lines
382 B
Markdown
20 lines
382 B
Markdown
```py
|
|
Just(1) @ id % fromJust
|
|
```
|
|
|
|
```py
|
|
match Right([4, 12, 18, 15, 23, -64, 15, 12, 12, 5, 8]) \
|
|
@ (lambda x: map(chr, [y + 96 for y in x])) \
|
|
@ list @ reversed \
|
|
@ (lambda x: ''.join(x) + '!'):
|
|
case Right(value,):
|
|
print(value)
|
|
case Left(value,):
|
|
raise value
|
|
```
|
|
|
|
```py
|
|
Right(1) \
|
|
% whenLeft(exit, _) \
|
|
% mapRight((lambda x: 2), _)
|
|
```
|