Skip to content

Conversation

@alexbiehl
Copy link
Member

@alexbiehl alexbiehl commented Oct 15, 2024

It has never been easier. Ever since text is using UTF-8 encoding internally we don't have to go through the intermediate ByteString step. However, we keep deserialisation as is to ensure proper UTF-8'ness.

@alexbiehl alexbiehl force-pushed the alex/put-without-bytestring branch from 8d49474 to f152209 Compare October 15, 2024 07:14
@Bodigrim
Copy link
Contributor

@alexbiehl shall we do the same for lazy Text?

@alexbiehl alexbiehl force-pushed the alex/put-without-bytestring branch 2 times, most recently from 128e8fc to a6d3dc2 Compare October 16, 2024 12:55
@alexbiehl
Copy link
Member Author

@Bodigrim I updated the PR.

@alexbiehl alexbiehl force-pushed the alex/put-without-bytestring branch from a6d3dc2 to 9f368e1 Compare October 16, 2024 13:08
@alexbiehl
Copy link
Member Author

I also added property tests for strict and lazy texts.

@alexbiehl alexbiehl force-pushed the alex/put-without-bytestring branch 2 times, most recently from 8d18425 to 7263ebf Compare October 17, 2024 06:18
@alexbiehl alexbiehl force-pushed the alex/put-without-bytestring branch from 238f116 to ae791f0 Compare October 17, 2024 15:31
@Bodigrim Bodigrim merged commit a3f398e into haskell:master Oct 18, 2024
23 of 25 checks passed
@Bodigrim
Copy link
Contributor

Thanks!

@alexbiehl alexbiehl deleted the alex/put-without-bytestring branch October 18, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants