Modulescale-1.1.0.0Haskell2010
Codec.Scale.Generic
This module defines generic codec instances for data structures (including tuples) and enums (tagged-unions in Rust).
- Packagescale-1.1.0.0
- Exports0
- LanguageHaskell2010
- LicenceApache-2.0
- SourceGeneric.hs
Orphan instances
8 instancesGDecode (NP I '[])GDecode (NP f as) => GDecode (SOP f '[as])(Decode a, GDecode (NP I as)) => GDecode (NP I (a ': as))(GDecode (NP f xs), GDecode (NP f ys), All (Compose GDecode (NP f)) xss, EnumParser xss) => GDecode (SOP f (xs ': ys ': xss))GEncode (NP I '[])GEncode (NP f xs) => GEncode (SOP f '[xs])(Encode a, GEncode (NP I as)) => GEncode (NP I (a ': as))(GEncode (NP f xs), GEncode (NP f ys), All (Compose GEncode (NP f)) xss) => GEncode (SOP f (xs ': ys ': xss))