Skip to content

Consider dropping dependency on arrows #192

@phadej

Description

@phadej

It depends on Stream, which specifically may become a liability

[1 of 1] Compiling Data.Stream      ( Data/Stream.hs, dist/build/Data/Stream.o, dist/build/Data/Stream.dyn_o )
Data/Stream.hs:105:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
    Noncanonical ‘return’ definition detected
    in the instance declaration for ‘Monad Stream’.
    ‘return’ will eventually be removed in favour of ‘pure’
    Suggested fix:
      Either remove definition for ‘return’ (recommended) or define as ‘return = pure’
      See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
    |
105 |   return = repeat
    |   ^^^^^^^^^^^

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