diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-22 00:20:27 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-22 00:20:27 -0400 |
| commit | bf25cb287bcec0b85f64c90a88a4556291efe74a (patch) | |
| tree | d1c7cc0f372527d3010b9dca1f487187e977d28a /doc/writing_properties.mdwn | |
| parent | f26c062550d97051933c0dd8ea32bbaec5848f55 (diff) | |
make api links point to latest version
Diffstat (limited to 'doc/writing_properties.mdwn')
| -rw-r--r-- | doc/writing_properties.mdwn | 8 |
1 files changed, 4 insertions, 4 deletions
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. |
