import xython as xy
_ = xy._
xy.and_then(
sum | xy.partial([]),
sum,
print
)([[1, 2, 3], [2, 3, 4]])
# => print(sum(sum([[1, 2, 3], [2, 3, 4]], [])))
_*2 | xy.before_with(_ + 10) | xy.call(2) # => (2 + 10) * 2
_ + 10 | xy.next_by(_ * 5) | xy.call(2) # => (2 + 10) * 5
(lambda x, y: x+y) | xy.to_curry | xy.call(1, 2) # => 1 + 2
(lambda x, y: x+y) | xy.to_curry | xy.call(1) | xy.call(2) # => 1 + 2
Not only the syntax sugar, JIT and AOT could be expected.
Metadata
Release files for xython-for-python 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xython_for_python-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / xython_for_python-0.0.1-py3-none-any.whl
| Download URL | xython_for_python-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a99430256ceef53b51f8eb5ea2f07c1d5103356c601162ec3c448f1ef2e2b18e
|
|
BLAKE2b-256 checksum How to use checksums |
e1b467935e19454529a193698adb56efec3a91b59b8419c1575a5238de5a0164
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |