on master help sign in
Ooops!
commit5b7aa7bea9a28a6c8dcda1b2e3c488c7a85321b9 authorBryan O'Sullivan <bos@serpentine.com> dateTue 1 Feb 2011, 08:52 (16 years ago) parentdade7b7
2 files changed+2−2
Data/Text.hs+1−1 Data/Text/Lazy.hs+1−1
Data/Text.hs+1−1
@@ -388,7 +388,7 @@ cons :: Char -> Text -> Text
388388cons c t = unstream (S.cons (safe c) (stream t))
389389{-# INLINE cons #-}
390390
391−infixr 5 cons
391+infixr 5 `cons`
392392
393393-- | /O(n)/ Adds a character to the end of a 'Text'. This copies the
394394-- entire array in the process, unless fused. Subject to fusion.
Data/Text/Lazy.hs+1−1
@@ -392,7 +392,7 @@ cons :: Char -> Text -> Text
392392cons c t = Chunk (T.singleton c) t
393393{-# INLINE [1] cons #-}
394394
395−infixr 5 cons
395+infixr 5 `cons`
396396
397397{-# RULES
398398"LAZY TEXT cons -> fused" [~1] forall c t.