3 ms·
Haskell's GHC is doing exactly that. You can even mix and match pragmas for different extensions.
by eru 11y ago
Haskell's GHC is doing exactly that. You can even mix and match pragmas for different extensions.
- kbenson 11y agoI know Perl has done the same for quite a while now.
- Argorak 11y agoI find it terribly confusing. It means that Haskell is almost never something I can expect a lot from, but a weird combination of extensions changing to "non-standard" behaviours.
- codygman 11y ago> It means that Haskell is almost never something I can expect a lot from, but a weird combination of extensions changing to "non-standard" behaviours. I can't think of a weird combination of behaviors from extensions that would change semantics... maybe it's because I don't use that many extensions usually. When I do they are related to type level programming and all they seem to affect is type inference.
- tome 11y agoAn example would be helpful.
- eru 11y agoNever confused me. In general, on a bigger project you'll have a bunch of approved extensions, and everything extra goes through very strict code review to see whether it helps more than it confuses.
- Argorak 11y agoIn a strictly controlled project, fine. But working with three different open source extensions that all use a different setup gets confusing quickly. Point being the same: Haskell as used is never quite standard Haskell.