Re:Where FP meets OO
by dschiptsov on Monday December 29, 2014 @05:53PM
(#8812269)
I am not sure that an unknown message could be caught at compile time, because we don't know everything in advance. I also don't think that static type checking is the only way to program.
In that toy example I should return an error, because '() is a legit value.
In that toy example I should return an error, because '() is a legit value.