on master help sign in
documentation fix
commitf5dade20c988ccdc29aa436892f4eb258c203ac1 authorAdam Vogt <vogt.adam@gmail.com> dateFri 31 Jan 2014, 08:27 (13 years ago) parentbf35178
1 file changed+4−4
Data/Text.hs+4−4
Data/Text.hs+4−4
@@ -234,8 +234,8 @@ import GHC.Prim (Addr#)
234234-- $strict
235235--
236236-- This package provides both strict and lazy 'Text' types. The
237−-- strict type is provided by the 'Data.Text' package, while the lazy
238−-- type is provided by the 'Data.Text.Lazy' package. Internally, the
237+-- strict type is provided by the "Data.Text" module, while the lazy
238+-- type is provided by the "Data.Text.Lazy" module. Internally, the
239239-- lazy @Text@ type consists of a list of strict chunks.
240240--
241241-- The strict 'Text' type requires that an entire string fit into
@@ -330,7 +330,7 @@ instance IsString Text where
330330instance NFData Text
331331#endif
332332
333−-- This instance preserves data abstraction at the cost of inefficiency.
333+-- | This instance preserves data abstraction at the cost of inefficiency.
334334-- We omit reflection services for the sake of data abstraction.
335335--
336336-- This instance was created by copying the behavior of Data.Set and
@@ -338,7 +338,7 @@ instance NFData Text
338338-- submit improvements.
339339--
340340-- Original discussion is archived here:
341−
341+--
342342-- "could we get a Data instance for Data.Text.Text?"
343343-- http://groups.google.com/group/haskell-cafe/browse_thread/thread/b5bbb1b28a7e525d/0639d46852575b93
344344