HaskerDeux

Check-in [9a429ebc79]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Hlint changes

Had to hlint on another computer... cannot get it to install on NetBSD

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/issue1 | trunk | master
Files: files | file ages | folders
SHA3-256: 9a429ebc7950936b3ec6ed9fd09dddabadc1dcc508f61e7ba50b0672b729cda3
User & Date: atomicules 2020-05-15 11:56:32.119
Context
2020-08-11
07:24
Change order of commands

All because it bugged me typing:

haskerdeux today moveto 1 2020-08-25

I.e. it just didn't scan well. I suppose I could just have reworded that as
"move", but I thought it'd be "fun" to be able to do this:

haskerdeux today 1 moveto 2020-08-25

The only problem with this is that parsing the arguments was much easier when
the first one was a date and the second the command. Now we have the second
argument sometimes being the command and sometimes being a number:

haskerdeux today new "New thing todo" haskerdeux today 1 moveto 2020-08-25

Anyway, this solves it with a bit of parsing and re-arranging up front and then
passes things through as before. I removed the `when` clause as it was entirely
redudant (well, it offered a more graceful/silent failure if it couldn't parse
the command line args, but that's it) check-in: 3cee74c3f9 user: atomicules tags: master, origin/issue1, trunk

2020-05-15
11:56
Hlint changes

Had to hlint on another computer... cannot get it to install on NetBSD check-in: 9a429ebc79 user: atomicules tags: master, origin/issue1, trunk

08:29
Handle any case of short day: Mon, mon, MON, etc.

Just because it'll be easier for me to use lowercase. check-in: 386fcc875a user: atomicules tags: master, origin/issue1, trunk

Changes
Unified Diff Side-by-Side Diff Patch
Changes to haskerdeux.hs.