3 ms·
Thanks for the pointer! Emphasis mine: "Because linear functions only strengthen the contract of unrestricted functions, a number of functions of base can get a
by tuukkah 6y ago
Thanks for the pointer! Emphasis mine:
"Because linear functions only strengthen the contract of unrestricted functions, a number of functions of base can get a more precise type. However,
for pedagogical reasons, to prevent linear types from interfering with newcomers' understanding of the Prelude, this proposal does not modify base. Instead, we expect that users will publish new libraries on Hackage including more precisely typed base functions. One such library has already started here."
- srtjstjsj 6y agoPrelude needs to change its name to Pedagogue. It's drifting ever farther from how people use the language to solve real problems.