wisteria icon indicating copy to clipboard operation
wisteria copied to clipboard

Easy, fast, transparent generic derivation of typeclass instances in Scala

Results 5 wisteria issues
Sort by recently updated
recently updated
newest added

It seems like a default value can be accessed when deriving a product type, but not if that product type is being derived as part of a sum type.

bug
question

Assuming I want to only implement type class for Products, therefore I deliberately leave `split` method unimplemented. When trying to derive type class for Sum type - I get extremely...

code quality

A proper test is required, but it seems like inline summoning does not work inside polymorphic lambdas, e.g. in ```scala fields(value): [FieldType] => field => summonFrom: case given Show[FieldType] =>...

enhancement
api

When trying to provide typeclass for sum type(taking into account that `split` method is implemented, I get following: ``` [error] 60 | val typeclass = summon[Default[DefaultTest]] [error] | ^ [error]...

docs
question
minor