Hacker GitHub

← All repos

lubieowoce/sumtype

View on GitHub ↗ ★ 28 Python

A namedtuple-style library for defining immutable sum types in Python.

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2018-08-31 · latest 2020-05-13

Mentions per year 3 mentions · busiest year 2018 (1)
20082026
  1. …3.5) --- btw, i went with a similar approach (i.e everything is codegened) in my sum type library: http://github.com/lubieowoce/sumtype i never got around to generating the methods lazily, maybe i should! for correctness reasons i switched…
  2. …since people reading this might be interested, i made something similar for Python a while ago: https://github.com/lubieowoce/sumtype
  3. …plug: [0]) and looking for ways to improve it, though of course it has different constraints. [0] https://github.com/lubieowoce/sumtype
    comment by uryga · 2018-08-31 · in Value-Oriented Programming