File: Add_MonadBaseControl_instance_to_Propellor.mdwn

package info (click to toggle)
propellor 5.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,788 kB
  • sloc: haskell: 17,913; makefile: 58; perl: 38; sh: 28
file content (3 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (5)
1
2
3
I had a specific use-case that ensures a property while using a Consul session via the [consul-haskell package](https://hackage.haskell.org/package/consul-haskell-0.4/docs/Network-Consul.html#v:withSession); in order to make it type check a MonadBaseControl IO instance is needed, so I added one. Hopefully this is generally useful, so I don't need to maintain a forked version of propellor!

Patch is located in the `MonadBaseControl` branch of my cloned git repo `git clone git@github.com:hellertime/propellor.git`