[Haskell-beginners] Tagged types

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Tue Oct 2 17:04:42 UTC 2018


> I believe you can do this with GADTs [1]

I can create different constructors for the different types.
but how can I create a function which return different type ?


Fred


More information about the Beginners mailing list