Too many use of partial functions like fromJust or even head: This makes things simple at first but of course blows up at runtime. Lesson learned: Always use total functions,
Just quoting this for emphasis: make it easier on yourself and never use partial functions.
Just quoting this for emphasis: make it easier on yourself and never use partial functions.
This is a very very good run-down, so good, I may use it as a template/checklist for anything I write that is similar in the future.