Skip to content

Generic.Rep doesn't derive inner records #2911

@pkamenarsky

Description

@pkamenarsky

Is this expected behaviour?

 data A = A { b :: { c :: Array String } }

The Generic.Rep representation is:

(Constructor "A"
   (Rec
      (Field "b"
         { c :: Array String
         }
      )
   )
)

I would have expected the inner record to result in Rec (Field "c" ... and so on.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions