Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,872
    • Issues 4,872
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 457
    • Merge requests 457
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21294
Closed
Open
Created Mar 26, 2022 by Vladislav Zavialov@int-indexDeveloper1 of 7 tasks completed1/7 tasks

Non-punning list and tuple syntax (-XListTuplePuns, -XNoListTuplePuns)

This ticket is to track the implementation of GHC Proposal #475 "Non-punning list and tuple syntax".

I intend to break the implementation into multiple parts, so here's a checklist for things that have been implemented and merged so far:

  • Export Unit, Solo, Tuple<n> from GHC.Tuple
  • Export CUnit, CSolo, CTuple<n> from GHC.Classes, GHC.Exts
  • Export Unit#, Solo#, Tuple<n>#, and Sum<n># from GHC.Exts
  • Export Tuple, TupleArgKind, Constraints, TupleArgKind#, Tuple#, and Sum# from GHC.Tuple
  • Export List from GHC.Types and GHC.List (02279a9c)
  • Create GHC.Prelude and re-export Unit, Solo, Tuple<n>, CUnit, CSolo, CTuple<n>, List.
  • Implement the ListTuplePuns extension to control parsing and pretty-printing.

The proposal also prescribes to remove the Solo pattern synonym in three releases. Since this is to be done later, it will be tracked in a separate ticket.

Edited Apr 07, 2022 by Vladislav Zavialov
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking