composewell / streamly-serialize-instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement `Serialize` instance for `Text`

adithyaov opened this issue · comments

This includes both Strict.Text and Lazy.Text

  • Implement Serialize (Strict.Text)
  • Implement Serialize (Lazy.Text)
  • Add roundtripping tests
  • Add benchmarks

Note that we need to implement the instances differently for text < 2 and text >= 2. Use CPP macros to control the implementation accordingly.

See #9 and #11