Skip to content

psc-ide should use type aliases #2302

Description

@dlants

Using the purescript-by-example example:

type Entry =
  { firstName :: String
  , lastName :: String
  , address :: Address
  }

entryIdentity :: Entry -> Entry
entryIdentity entry = entry

identity entry = entryIdentity entry

requesting the type of identity gives:

identity :: { firstName :: String , lastName :: String , address :: { street :: String , city :: String , state :: String } } -> { firstName :: String , lastName :: String , address :: { street :: String , city :: String , state :: String } }

rather than Entry -> Entry

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions