Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,273
    • Issues 4,273
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 413
    • Merge Requests 413
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #10564

Closed
Open
Opened Jun 23, 2015 by snoyberg@trac-snoyberg

GHC 7.10.2 RC cannot build HList-0.4.0.0

Another Stackage find:

http://lpaste.net/135061

Data/HList/Record.hs:575:10:
    Illegal instance declaration for ‘HasFieldM l (r xs) v’
      The liberal coverage condition fails in class ‘HasFieldM’
        for functional dependency: ‘l r -> v’
      Reason: lhs types ‘l’, ‘r xs’ do not jointly determine rhs type ‘v’
    In the instance declaration for ‘HasFieldM l (r xs) v’

Data/HList/Record.hs:587:10:
    Illegal instance declaration for
      ‘HasField l (Record (Tagged l1 v1 : r)) v’
      The liberal coverage condition fails in class ‘HasField’
        for functional dependency: ‘l r -> v’
      Reason: lhs types ‘l’, ‘Record (Tagged l1 v1 : r)’
        do not jointly determine rhs type ‘v’
    In the instance declaration for
      ‘HasField l (Record (Tagged l1 v1 : r)) v’

Data/HList/Record.hs:646:10:
    Illegal instance declaration for ‘HDeleteAtLabel Record l v v'’
      The liberal coverage condition fails in class ‘HDeleteAtLabel’
        for functional dependency: ‘l v -> v'’
      Reason: lhs types ‘l’, ‘v’ do not jointly determine rhs type ‘v'’
    In the instance declaration for ‘HDeleteAtLabel Record l v v'’

Data/HList/Record.hs:723:10:
    Illegal instance declaration for
      ‘HUpdateAtLabel2 l v (Tagged l' e : xs) xs'’
      The liberal coverage condition fails in class ‘HUpdateAtLabel2’
        for functional dependency: ‘l r v -> r'’
      Reason: lhs types ‘l’, ‘Tagged l' e : xs’, ‘v’
        do not jointly determine rhs type ‘xs'’
    In the instance declaration for
      ‘HUpdateAtLabel2 l v (Tagged l' e : xs) xs'’
Trac metadata
Trac field Value
Version 7.10.2-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
7.10.2
Milestone
7.10.2 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#10564