Closed daleydeng closed 1 year ago
Nice catch, could you submit a PR to fix it ?
seem already merged
It's merged in your fork. Could you submit the PR against this project?
I saw @BartoszMilewski merge this (or, a similar fix https://github.com/hmemcpy/milewski-ctfp-pdf/pull/315) not too long ago. Are we sure this is still current? Or is it another place in the book?
Indeed, it's already merged, we can close this issue.
this should be this
from original blog https://bartoszmilewski.com/2015/01/13/simple-algebraic-data-types/
Because,
Either
is not data constructor which needed indata
decalration