
19 Apr
2016
19 Apr
'16
4:14 a.m.
Hi guys, Here is my solution to Problem 50 from Ninety-Nine Haskell Problems: https://github.com/nilthehuman/H-99/blob/master/Logic.hs#L75 (`consume' is defined here: https://github.com/nilthehuman/H-99/blob/master/Lists.hs#L107 ) I'm not satisfied with the code quality. I feel like especially `go', `group' and `min2' should be more succint and readable. How to refactor? Maybe there are some combinators that could help? Thanks, Daniel