
30 Jun
2021
30 Jun
'21
12:57 a.m.
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 = String type MyDay = String type MyYear = String data MyDate = MyDate MyMonth MyDay MyYear deriving Show storeDate :: MyDate storeDate = "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? ⨽ Lawrence Bottorff Grand Marais, MN, USA borgauf@gmail.com