Skip to content
  • Andrei Borzenkov's avatar
    74c55712
    Give more guarntees about ImplicitParams (#23289) · 74c55712
    Andrei Borzenkov authored and Marge Bot's avatar Marge Bot committed
    - Added new section in the GHC user's guide that legends behavior of
    nested implicit parameter bindings in these two cases:
    
      let ?f = 1 in let ?f = 2 in ?f
    
    and
    
      data T where MkT :: (?f :: Int) => T
    
      f :: T -> T -> Int
      f MkT MkT = ?f
    
    - Added new test case to examine this behavior.
    74c55712
    Give more guarntees about ImplicitParams (#23289)
    Andrei Borzenkov authored and Marge Bot's avatar Marge Bot committed
    - Added new section in the GHC user's guide that legends behavior of
    nested implicit parameter bindings in these two cases:
    
      let ?f = 1 in let ?f = 2 in ?f
    
    and
    
      data T where MkT :: (?f :: Int) => T
    
      f :: T -> T -> Int
      f MkT MkT = ?f
    
    - Added new test case to examine this behavior.
Loading