streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Make generic and TH derivation for Unbox compatible

Open harendra-kumar opened this issue 2 years ago • 1 comments

Generic takes 256 constructors max, TH can do more. We should use variable length encoding for constructor tags in TH and limit the generic constructors to 128 with encoding compatible to TH, and emit an error if that exceeds.

harendra-kumar avatar Aug 13 '23 12:08 harendra-kumar

TH already does variable-length encoding.

Does Generic have variable length encoding? If so, they are compatible.

I need to understand the generic encoding before proceeding with how to change this.

adithyaov avatar Sep 30 '24 14:09 adithyaov