Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Record labels not quoted if necessary with gShow #40

Description

@no-longer-on-githu-b
data Person = Person 
  { "first name"   :: String
  , "last name"    :: String
  , address        :: Address
  }

Using gShow with this structure returns:

{address: Main.Address {city: "Faketown", state: "CA"}, first name: "John", last name: "Smith"}

which is obviously not valid PureScript. It should return:

{address: Main.Address {city: "Faketown", state: "CA"}, "first name": "John", "last name": "Smith"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions