Skip to content

Conversation

fisx
Copy link
Contributor

@fisx fisx commented May 26, 2023

changes:

  • b0964bc
  • s/SBS/ByteString/g
  • s/LBS/LByteString/g
  • s/ST/Text/g
  • s/LT/LText/g
  • remove import Data.String.Conversions.* (at least in most places...)
  • hide cs from Imports imports in a few places to avoid name shadowing

cs is technically not always safe, because it can crash when trying to convert a bytestring elf binary into text. but first of all, we already use cs everywhere, and furthermore, unpack does exactly the same thing, so we wouldn't be any safer without cs. (i think.)

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@CLAassistant
Copy link

CLAassistant commented May 26, 2023

CLA assistant check
All committers have signed the CLA.

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label May 26, 2023
Copy link
Contributor

@battermann battermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fisx fisx merged commit a8c00fb into develop May 30, 2023
@fisx fisx deleted the import-string-conversions branch May 30, 2023 08:25
supersven pushed a commit that referenced this pull request Jul 5, 2023
* Export cs from Imports

* Remove stupid type aliases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants