From 38049b96f6e9d21e49ec159ee4998191a5b247cf Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 25 Nov 2015 19:58:24 -0700 Subject: improve Haddock for Locale.selectedFor Signed-off-by: Sean Whitton (cherry picked from commit ca016d391e2419856e1efc40cc977af6a99af7d6) --- src/Propellor/Property/Locale.hs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Propellor/Property/Locale.hs b/src/Propellor/Property/Locale.hs index b179094f..420dafb4 100644 --- a/src/Propellor/Property/Locale.hs +++ b/src/Propellor/Property/Locale.hs @@ -12,8 +12,12 @@ type LocaleVariable = String -- | Select a locale for a list of global locale variables. -- --- A locale variable is of the form `LC_BLAH`, `LANG` or `LANGUAGE`. See `man 5 --- locale`. +-- A locale variable is of the form @LC_BLAH@, @LANG@ or @LANGUAGE@. See @man 5 +-- locale@. One might say +-- +-- > & "en_GB.UTF-8" `Locale.selectedFor` ["LC_PAPER", "LC_MONETARY"] +-- +-- to select the British English locale for paper size and currency conventions. -- -- Note that reverting this property does not make a locale unavailable. That's -- because it might be required for other Locale.selectedFor statements. -- cgit v1.2.3