Skip to content
GitLab
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 5,258
    • Issues 5,258
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 560
    • Merge requests 560
  • 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 CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #17432
Closed
Open
Issue created Nov 04, 2019 by Richard Eisenberg@raeDeveloper

Wildcards in standalone kind signatures

We should allow partial kind signatures as well as partial type signatures:

type Maybe :: _ -> Type
data Maybe a = Nothing | Just a

type Proxy :: forall (k :: _). k -> _
data Proxy = MkP

Of course, this would mean that polymorphic recursion would not be allowed. It's all just like at the term level.

Edited Nov 06, 2019 by Richard Eisenberg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking