metadsl PyData talk
PyData NYC just ended and I thought it would be good to collect my thoughts on metadsl
based on the many conversations I had there surrounding it. This is a rather long post, so if you are just looking for some code here is a Binder link for my talk
metadsl
?
class Number(metadsl.Expression): @metadsl.expression def __add__(self, other: Number) -> Number: ... @metadsl.expression @classmethod def from_int(cls, i: int) -> Number: ... @metadsl.rule def add_zero(y: Number): yield Number.from_int(0) + y, y yield y + Number.from_int(0), y
Read more… (12 min remaining to read)
from Planet SciPy
read more
No comments:
Post a Comment