Skip to content

Long term stability #18

Description

@anka-213

If I want to write a Haskell program and have it compilable without changes 10 years from now, what would I need to do? What would be needed for that to be possible?

I'm guessing I would want some flags like -XHaskell98 or similar to explicitly tell the compiler what version of the haskell standard to use. Any other flags that would be helpful?

I would obviously want to minimize the number of external dependencies from hackage, since those frequently have breaking changes. Although setting a max version on them in the cabal file might be sufficient to solve that, assuming those older versions are still compilable. The larger issue is that boot-packages like base frequently have breaking changes and there is no way to use older versions of base with newer versions of the compiler. Is there some alternative base library available that is committed to long term stability?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions