From 740c5e1ddc41a80e34681a4d57ed61a3dbe847e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A6=88=EB=88=85?= Date: Tue, 26 Mar 2024 03:04:39 +0900 Subject: [PATCH] Digits.hs: Use Data.ByteString.Char8.pack instead of OverloadedStrings --- src/Data/Text/Internal/Builder/Int/Digits.hs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/Data/Text/Internal/Builder/Int/Digits.hs b/src/Data/Text/Internal/Builder/Int/Digits.hs index e1b3e498..7c698c0a 100644 --- a/src/Data/Text/Internal/Builder/Int/Digits.hs +++ b/src/Data/Text/Internal/Builder/Int/Digits.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE OverloadedStrings #-} - -- Module: Data.Text.Internal.Builder.Int.Digits -- Copyright: (c) 2013 Bryan O'Sullivan -- License: BSD-style @@ -16,11 +14,12 @@ module Data.Text.Internal.Builder.Int.Digits (digits) where -import Data.ByteString.Char8 (ByteString) +import Data.ByteString.Char8 (ByteString, pack) digits :: ByteString -digits = "0001020304050607080910111213141516171819\ - \2021222324252627282930313233343536373839\ - \4041424344454647484950515253545556575859\ - \6061626364656667686970717273747576777879\ - \8081828384858687888990919293949596979899" +digits = pack + "0001020304050607080910111213141516171819\ + \2021222324252627282930313233343536373839\ + \4041424344454647484950515253545556575859\ + \6061626364656667686970717273747576777879\ + \8081828384858687888990919293949596979899"