Commits

Bryan O'Sullivan committed 8964d96 Merge

Merge pull request #52 from michaelt/patch-1

comment on mappending Builders improved with mention of <>

  • Participants
  • Parent commits 5b84c9c, 01471e9

Comments (0)

Files changed (1)

File Data/Text/Lazy/Builder.hs

 --
 -- > singleton 'a' `mappend` singleton 'b' `mappend` singleton 'c'
 --
--- as the latter associates @mappend@ to the left.
+-- as the latter associates @mappend@ to the left. Or, equivalently,
+-- prefer
 --
+--  > singleton 'a' <> singleton 'b' <> singleton 'c'
+--
+-- since the '<>' from recent versions of 'Data.Monoid' associates 
+-- to the right.
+
 -----------------------------------------------------------------------------
 
 module Data.Text.Lazy.Builder