I came across this issue organically... I banged out a bunch of Haskell exercises, fetched the next one, went away for a few days, and when I came back and saw the list of exercise directories, I realized I had no clue which exercise I was supposed to be working on. I had to go through each folder and jog my memory.
Thankfully, I had not created a solution file so it was easy to tell which problem I was on. However, if I had already created my solution file, you can imagine how difficult it would be then... I guess I would have to try submitting everything until it doesn't whine that I have already submitted that file.
Solving this issue takes a little bit of thought, and there are a number of potential solutions that I was brainstorming:
- Organize the top level into two folders: "Solved" and "Unsolved", move problems around as appropriate
- Append ".solved" to the folder name after submitting (but then the program doesn't understand the path, this would be easy to tweak though)
- Make a copy of the folder with ".solved" appended (but then the list of folders will get very large and ugly)
- Do a folder rename/copy thing using numbers instead of "solved" so that the problems will sort ( but double digit numbers don't sort well :( )
- Implement a cli command to display the path to the current problem "exercism haskell current"
These are the things I was going to play around with in my fork. Let's brainstorm some more and figure out an appropriate solution.
I came across this issue organically... I banged out a bunch of Haskell exercises, fetched the next one, went away for a few days, and when I came back and saw the list of exercise directories, I realized I had no clue which exercise I was supposed to be working on. I had to go through each folder and jog my memory.
Thankfully, I had not created a solution file so it was easy to tell which problem I was on. However, if I had already created my solution file, you can imagine how difficult it would be then... I guess I would have to try submitting everything until it doesn't whine that I have already submitted that file.
Solving this issue takes a little bit of thought, and there are a number of potential solutions that I was brainstorming:
These are the things I was going to play around with in my fork. Let's brainstorm some more and figure out an appropriate solution.