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 455
    • Merge requests 455
  • 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
  • #19585
Closed
Open
Created Mar 24, 2021 by Sebastian Graf@sgraf812Developer0 of 1 task completed0/1 task

Follow-up from "Fix the binder-swap transformation in OccurAnal"

The following discussion from !5351 (closed) should be addressed:

  • @sgraf812 started a discussion: (+1 comment)

    This is all very similar to GHC.Types.Unique.SDFM.UniqSDFM, except that

    1. UniqSDFM is deterministic, which means we lose performance if we switch to it
    2. UniqSDFM isn't concerned about coercions at the moment

    (1) is easily rectified by extracting an internal type class for emptyUFM, lookupUFM and extendUFM so that we can share the implementations.

    (2) is something that the pattern-match checker should have done for a long time anyway; currently we just discard coercions, which is a bug waiting to happen.

I agreed to pick up on this at some point.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking