Skip to content

[Scala 3] derived instances are not stack-safe #476

@TimWSpence

Description

@TimWSpence

The following derivations are not stack-safe:

  • Functor
  • Contravariant

This is because the shapeless 3 ErasedXXXInstances#map has mutual recursion between the Product and Coproduct instances when dealing with recursive sum types like List

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions