Sitelet https://github.com/purescript-deprecated/purescript-generics/issues/40
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"}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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