- …
- …
- …
I see discussion of what to do. (Some of it copied into the ‘Decoupling’ thread, where it had already prompted my ‘why?’ question.) I still don’t see a clear statement of the problem.
(But good grief the CLC seems to be good at talking round in circles!)
At one of your links (please explain) there’s
- Goal here isn’t actually to split up base
If I’m being dumb, and the motivation is so blinkin’ obvious nobody’s bothering to spell it out, then just humour me, and explain it in terms that would make sense to somebody who only consumes base
and never looks inside its structure.
Some want to remove partial functions (like head
or (!!)
). Well ok, propose that, but it doesn’t need splitting anything. If that’s supported (I doubt it), people will just write their own – and roll-your-own is what other comments are trying to avoid.
Remove foldl
? And do what instead? Again this doesn’t need splitting anything. If the deeper message is that Lists are almost always the wrong data structure, I’d agree. But blame all the intro texts that go through every durned function over lists, and that generate so many q’s on StackOverflow.
People want different Prelude
s. (Except some of the alternatives they advocate have bitrotted already.) Then is the problem that it’s really difficult to build alternative Prelude
s, and having built them they get broken by the next release of GHC? Is there a pattern to the breakage across all these different alternatives? Or is there a separate/partial cause in each case? Then no specific new structure for base
is going to help everybody(?)