Skip to content

Make Later covariant in its type parameter #4631

@yanns

Description

@yanns

Later is an instance of Eval

final class Later[A](f: () => A) extends Eval.Leaf[A]

And Eval is covariant.

I'm having the same issue as described in #937 but for Later.
We could make Later covariant as well.

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