From 980210070a1871a84dde0ad1e7e69983c145e2a9 Mon Sep 17 00:00:00 2001 From: Pavlo Kerestey Date: Wed, 11 Apr 2018 10:14:56 +0200 Subject: [PATCH] Explicit exports of Hledger.Utils.Text --- hledger-lib/Hledger/Utils/Text.hs | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/hledger-lib/Hledger/Utils/Text.hs b/hledger-lib/Hledger/Utils/Text.hs index ecdb52f47..07e45408e 100644 --- a/hledger-lib/Hledger/Utils/Text.hs +++ b/hledger-lib/Hledger/Utils/Text.hs @@ -5,37 +5,37 @@ {-# LANGUAGE CPP #-} module Hledger.Utils.Text - -- ( + ( -- -- * misc -- lowercase, -- uppercase, -- underline, -- stripbrackets, - -- unbracket, + textUnbracket, -- -- quoting - -- quoteIfSpaced, + quoteIfSpaced, -- quoteIfNeeded, -- singleQuoteIfNeeded, -- -- quotechars, -- -- whitespacechars, - -- escapeDoubleQuotes, + escapeDoubleQuotes, -- escapeSingleQuotes, -- escapeQuotes, -- words', -- unwords', - -- stripquotes, + stripquotes, -- isSingleQuoted, -- isDoubleQuoted, -- -- * single-line layout - -- strip, - -- lstrip, - -- rstrip, + textstrip, + textlstrip, + textrstrip, -- chomp, -- elideLeft, - -- elideRight, + textElideRight, -- formatString, -- -- * multi-line layout - -- concatTopPadded, + textConcatTopPadded, -- concatBottomPadded, -- concatOneLine, -- vConcatLeftAligned, @@ -46,14 +46,15 @@ module Hledger.Utils.Text -- padright, -- cliptopleft, -- fitto, + fitText, -- -- * wide-character-aware layout - -- strWidth, - -- textTakeWidth, + textWidth, + textTakeWidth, -- fitString, -- fitStringMulti, - -- padLeftWide, - -- padRightWide - -- ) + textPadLeftWide, + textPadRightWide + ) where -- import Data.Char