Repository navigation
Relationship between language report and library report #50
Replies: 3 comments 4 replies
|
I was just about to make a thread about this actually. I personally dislike places where the standard says implementations "should" do things, so I'm rather hesitant about subset compatibility. As far as I'm concerned, the moment a program does this: import Data.Int
import Data.List
example = product [10, 20]is already reaching into undefined territory because Here's my proposal:
With this framework, we can mark Thoughts? |
|
I wonder whether we instead specify the If one wanted to guarantee that you used haskell2010 versions of modules, you'd use a mixin or whatever your compiler/package manager's equivalent would be. |
|
Am I correct to understand that (I think ) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We started to have a discussion in issue #6 about the relationship between the language report and the library report, and what it means for a library like
baseto be "compatible with" or "adhering to" the library report. Here might be a better place to continue this discussion and keep #6 focused on theBitstypeclass.My views on this are roughly:
basein its entirety, and the CLC is a much better maintainer of the core libraries than any language report committee. The library report should specify what is necessary for the language report.haskell2010library. (So that we can compare multiple implementations against each other)I think instead of prescribing what libraries should do to be "compatible" with Haskell 2010 we can also define different compatibility modes:
The maintainers of
basecan then decide if they want to be compatible with the library report, and in what way.All reactions