This PR updates weekDays to also accept shortened versions of the days of the week.
The logic is slightly complicated, as I needed to sort the list of days by the longest length in order to get megaparsec to match the longest day, and rather than doing this my hand I've added some code in so that it always happens.
I also added yest as an alternative for yesterday.
I don't know why travis is so flaky, merging and pushing the commit to master completed just fine. Maybe pull-requests get lower memory limits than the master branch...
This PR updates
weekDays
to also accept shortened versions of the days of the week.The logic is slightly complicated, as I needed to sort the list of days by the longest length in order to get
megaparsec
to match the longest day, and rather than doing this my hand I've added some code in so that it always happens.I also added
yest
as an alternative foryesterday
.