From d734de5f1cde3717c7d30a6e3bc935844a50e534 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 29 May 2016 14:32:31 -0400 Subject: improve haddock (cherry picked from commit ee1f24f5cc31c3d3524b43a74b16acae1c3a4ee4) --- src/Propellor/Info.hs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/Propellor') diff --git a/src/Propellor/Info.hs b/src/Propellor/Info.hs index 5ccda176..e9218291 100644 --- a/src/Propellor/Info.hs +++ b/src/Propellor/Info.hs @@ -77,14 +77,13 @@ askInfo = asks (fromInfo . hostInfo) -- It also lets the type checker know that all the properties of the -- host must support Debian. -- --- > & osDebian (Stable "jessie") X86_64 --- --- osDebian' lets specify a different DebianKernel --- --- > & osDebian' KFreeBSD (Stable "jessie") X86_64 +-- > & osDebian (Stable "jessie") X86_64 osDebian :: DebianSuite -> Architecture -> Property (HasInfo + Debian) osDebian = osDebian' Linux +-- Use to specify a different `DebianKernel` than the default `Linux` +-- +-- > & osDebian' KFreeBSD (Stable "jessie") X86_64 osDebian' :: DebianKernel -> DebianSuite -> Architecture -> Property (HasInfo + Debian) osDebian' kernel suite arch = tightenTargets $ os (System (Debian kernel suite) arch) -- cgit v1.2.3