mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-13 15:46:26 +03:00
treewide: use toLText
This commit is contained in:
parent
5d22b9450a
commit
c1d54c8886
@ -100,7 +100,7 @@ bslToText :: BSL.ByteString -> Text
|
||||
bslToText = toText . TL.decodeUtf8
|
||||
|
||||
textToBSL :: Text -> BSL.ByteString
|
||||
textToBSL = TL.encodeUtf8 . TL.fromStrict
|
||||
textToBSL = TL.encodeUtf8 . toLText
|
||||
|
||||
putText :: Text -> Put
|
||||
putText = putByteStringLen . textToBSL
|
||||
|
Loading…
Reference in New Issue
Block a user