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,967
    • Issues 4,967
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 459
    • Merge requests 459
  • 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
  • Repository
Switch branch/tag
  • ghc
  • compiler
  • typecheck
  • TcSMonad.lhs
Find file BlameHistoryPermalink
  • Simon Peyton Jones's avatar
    Allow type signatures in instance decls (Trac #5676) · 6353ae0f
    Simon Peyton Jones authored Dec 12, 2011
    This new feature-ette, enable with -XInstanceSigs, lets
    you give a type signature in an instance declaration:
    
       instance Eq Int where
         (==) :: Int -> Int -> Bool
         (==) = ...blah...
    
    Scoped type variables work too.
    6353ae0f

Replace TcSMonad.lhs

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.