2 ms·
I dunno, I kinda like that, add sum types and you can pass anything to computeArea. The problem really starts when you have typeA.func() typeB.func(x) typeC
by ilyt 4y ago
I dunno, I kinda like that, add sum types and you can pass anything to computeArea.
The problem really starts when you have
typeA.func()
typeB.func(x)
typeC.func(x=default_value)