Skip to content
  • Sylvain Henry's avatar
    59321879
    Add quotRem rules (#22152) · 59321879
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
      case quotRemInt# x y of
         (# q, _ #) -> body
      ====>
       case quotInt# x y of
         q -> body
    
      case quotRemInt# x y of
         (# _, r #) -> body
      ====>
       case remInt# x y of
         r -> body
    59321879
    Add quotRem rules (#22152)
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
      case quotRemInt# x y of
         (# q, _ #) -> body
      ====>
       case quotInt# x y of
         q -> body
    
      case quotRemInt# x y of
         (# _, r #) -> body
      ====>
       case remInt# x y of
         r -> body
Loading