-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
cat:langCategory: Language designCategory: Language designcmp:compilerComponent: Compiler backend (e.g., annotation processors, code generators)Component: Compiler backend (e.g., annotation processors, code generators)dfct:easyDifficulty: EasyDifficulty: Easy
Description
serde which is Rust's serialization/deserialization library give a option to represent enum. A deserializer doesn't need to read a whole JSON to know which tag is to deserialize if Nirum has a similar feature for Union type.
Metadata
Metadata
Assignees
Labels
cat:langCategory: Language designCategory: Language designcmp:compilerComponent: Compiler backend (e.g., annotation processors, code generators)Component: Compiler backend (e.g., annotation processors, code generators)dfct:easyDifficulty: EasyDifficulty: Easy