From bf25cb287bcec0b85f64c90a88a4556291efe74a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 22 Oct 2015 00:20:27 -0400 Subject: make api links point to latest version --- doc/writing_properties.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/writing_properties.mdwn') diff --git a/doc/writing_properties.mdwn b/doc/writing_properties.mdwn index c7183e09..9a700ac3 100644 --- a/doc/writing_properties.mdwn +++ b/doc/writing_properties.mdwn @@ -4,17 +4,17 @@ you'll want to write a property of your own. This isn't hard. Often propellor has some properties you can use to build the property you want. Need to modify the content of a file? Use any of the properties in -[Propellor.Property.File](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property-File.htm) -Need to run some commands? Use [Propellor.Property.Cmd](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property-Cmd.html). +[Propellor.Property.File](http://hackage.haskell.org/package/propellor/docs/Propellor-Property-File.htm) +Need to run some commands? Use [Propellor.Property.Cmd](http://hackage.haskell.org/package/propellor/docs/Propellor-Property-Cmd.html). To combine properties, the easiest way is to use `requires`. someproperty `requires` otherproperty -[Propellor.Property.List](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property-List.html) +[Propellor.Property.List](http://hackage.haskell.org/package/propellor/docs/Propellor-Property-List.html) has a `propertyList` combinator that's also useful. -[Propellor.Property](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property.html) +[Propellor.Property](http://hackage.haskell.org/package/propellor/docs/Propellor-Property.html) has some other functions to modify Properties in useful ways. For example, `check` makes a Property call an `IO Bool` to check if the Property needs be run. -- cgit v1.3-2-g0d8e