Commit graph

30 commits

Author SHA1 Message Date
Joscha
86743c78a1 Add simple package description 2018-01-08 08:33:58 +00:00
Joscha
8fc9740337 Fix unnecessary newline when learning 2018-01-06 11:16:04 +00:00
Joscha
ac4228ac09 Display parse error messages to user 2018-01-06 11:11:37 +00:00
Joscha
596f3b9bde Clean up parsing functions a bit 2018-01-06 11:11:16 +00:00
Joscha
560edfac3a Clean up some comments 2018-01-06 00:53:08 +00:00
Joscha
0fdac97b6e Rename executable to 'chards' 2018-01-06 00:37:20 +00:00
Joscha
ba5535e8a7 Make prompts more similar to original script 2018-01-06 00:37:04 +00:00
Joscha
304a1dd6fe Fix small things
- Wait for user input after displaying usage information (on windows, the
terminal window might close too quickly otherwise).

- When cards are tier 0, only put the tier in the infostring to conform
to the original python script's behaviour better.
2018-01-05 20:16:23 +00:00
Joscha
03d0d21c0e Clean up unused stuff 2018-01-05 18:41:29 +00:00
Joscha
bb509c9800 Fix whitespace when converting to string 2018-01-05 18:38:24 +00:00
Joscha
8973d30cae Load from and save to file 2018-01-05 18:23:47 +00:00
Joscha
e9b4edc6e0 Sort elements before converting to string
Just in case...
2018-01-05 17:14:09 +00:00
Joscha
8d882cf861 Randomize learn order and offsets 2018-01-05 17:04:08 +00:00
Joscha
e10e1b930a Implement show command 2018-01-05 13:23:32 +00:00
Joscha
9c8238e475 Add help command
Also changed all occurrences of "InputT IO" to "Input".
2018-01-05 12:41:01 +00:00
Joscha
10ee238886 Clean up documentation 2018-01-05 12:27:52 +00:00
Joscha
df3adf5ca4 Finish implementing parsing 2018-01-05 12:02:19 +00:00
Joscha
266acbe93d Transform files using stylish-haskell 2018-01-05 03:00:24 +00:00
Joscha
5c60d90d82 Clean up documentation 2018-01-05 00:54:24 +00:00
Joscha
5bbc069013 Append only commands to command history 2018-01-05 00:22:26 +00:00
Joscha
81adcb6111 Attempt to parse a list of elements 2018-01-04 23:57:02 +00:00
Joscha
4fd80876f5 Reorder functions 2018-01-04 18:28:54 +00:00
Joscha
9eddf454e3 Add haddoc documentation to Cards.hs 2018-01-04 18:23:51 +00:00
Joscha
7eb9954a05 Convert Elements to String 2018-01-04 13:38:34 +00:00
Joscha
c92b688bc9 Move project to stack 2018-01-04 12:53:48 +00:00
Joscha
bf49310bdf Clean up Main.hs a bit. 2018-01-03 23:50:49 +00:00
Joscha
373a245591 Count down cards left while asking 2018-01-03 18:50:09 +00:00
Joscha
7afb8d3b60 Wait a while when asking cards 2017-12-28 00:11:46 +00:00
Joscha
c23baacf0e Attempt to make a user interface 2017-12-27 21:14:05 +00:00
Joscha
ed5b449215 Start work on cards 2017-12-18 20:47:20 +00:00