Comment Comment by qsort I agree with the goal of the package, but I feel it doesn't do a good enough job of picking a lane between the imperative and functional approach.If you're going functional, a list is both a functor and a monad, so you definitely need at least map and flatMap for the abstraction to make sense.On the other hand there are a lot of "in place", "insert", etc, which encourage working with mutation.You probably need a bit of both, but I'd like a more top-down design better. parent qsort 5 years ago
If you're going functional, a list is both a functor and a monad, so you definitely need at least map and flatMap for the abstraction to make sense.
On the other hand there are a lot of "in place", "insert", etc, which encourage working with mutation.
You probably need a bit of both, but I'd like a more top-down design better.