Skip to content

Instantly share code, notes, and snippets.

View akirayu101's full-sized avatar
🥅
Focusing

Akira Yu akirayu101

🥅
Focusing
  • Bytedance
  • Hangzhou.China
View GitHub Profile
* Generate classes like WhereNot automatically with class decorator?
* Haskell style deconstruction, perhaps like:
@pmatch
def count(first_arg=Match(x=Head, *xs=Rest)):
print x, xs
Will require some nasty hacks like https://github.com/smcq/python-inject
* Implement boolean operators for stuff like:
@pmatch