I've looked at Data.Time, but I'm not seeing examples. I'd like to figure out how to simply have use of similar to this:_______________________________________________type MyMonth = Stringtype MyDay = Stringtype MyYear = Stringdata MyDate = MyDate MyMonth MyDay MyYear deriving ShowstoreDate :: MyDatestoreDate = "June" "29" "2021"which will be in a bigger data structure I'm building. I can't believe this isn't reinventing some long-established wheel. Is there such a type ready to use?
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners