Skip to content
  • Vladislav Zavialov's avatar
    Introduce MonadP, make PV a newtype · 0fc69416
    Vladislav Zavialov authored and Marge Bot's avatar Marge Bot committed
    Previously we defined   type PV = P,
    this had the downside that if we wanted to change PV,
    we would have to modify P as well.
    
    Now PV is free to evolve independently from P.
    
    The common operations addError, addFatalError, getBit, addAnnsAt,
    were abstracted into a class called MonadP.
    0fc69416