Skip to content

Commit

Permalink
Digits.hs: Use Data.ByteString.Char8.pack instead of OverloadedStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
xnuk authored and Lysxia committed Mar 27, 2024
1 parent f8f747b commit 495f013
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/Data/Text/Internal/Builder/Int/Digits.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}

-- Module: Data.Text.Internal.Builder.Int.Digits
-- Copyright: (c) 2013 Bryan O'Sullivan
-- License: BSD-style
Expand All @@ -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"

0 comments on commit 495f013

Please sign in to comment.