Skip to content

Reframe/Remove/Update Random section #115

@desjardinsalec

Description

@desjardinsalec

Is your content edit request related to a problem? Please describe.
I think the random section needs to be updated or removed.

Describe the solution you'd like

  1. Outright removal seems excessive, but an option nonetheless.

2. Reframe it and mark as legacy.

  1. Update it to latest Random and rewrite entire section.

I have not been around Haskell long enough to make a "informed" recommendation, but it seems there are better alternatives to System.Random which is why marking as legacy might be for the best until someone decides to rewrite the section.

I personally enjoyed reading the section even though I couldn't put pen to paper since I didn't feel like messing with Cabal.

Link to the page in question
https://learnyouahaskell.github.io/input-and-output.html

Suggestion:

This section uses System.Random, which is no longer included with GHC by default and requires installing the random package. If you’d rather not deal with package management yet, feel free to skip this section — it’s included mainly for historical interest and intuition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew content or edit request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions