From 500635568514bc106597a857c60d268dcf668037 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 27 Mar 2016 18:32:01 -0400 Subject: split out singletons lib --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index fc499c86..af2f5c2b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -39,10 +39,10 @@ propellor (3.0.0) UNRELEASED; urgency=medium go = property "foo" (return NoChange) To fix, specify the type of go: go :: Property UnixLike - - `ensureProperty` now needs to be passed information about the + - `ensureProperty` now needs to be passed a witness to the type of the property it's used in. change this: foo = property desc $ ... ensureProperty bar - to this: foo = property' desc $ \o -> ... ensureProperty o bar + to this: foo = property' desc $ \w -> ... ensureProperty w bar - General purpose properties like cmdProperty have type "Property UnixLike". When using that to run a command only available on Debian, you can tighten the type to only the OS that your more specific property works on. -- cgit v1.3-2-g0d8e