diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-03-25 13:33:32 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-04-25 14:28:56 -0400 |
commit | 0fc69416f5ed7186ce68c7a758cdd4c52fbf98f6 (patch) | |
tree | fb63a7331096829254b3ce43c732c55cd43d1d31 /includes | |
parent | 465f8f48c8f196a7b696a360c2f3c636cc88321a (diff) | |
download | haskell-0fc69416f5ed7186ce68c7a758cdd4c52fbf98f6.tar.gz |
Introduce MonadP, make PV a newtype
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.
Diffstat (limited to 'includes')
0 files changed, 0 insertions, 0 deletions