HaxeFoundation / HaxeFoundation/haxe.org-comments
[code.haxe.org] Macros - Combine two or more structures
Open
- Dominant language
- No language data
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Combine two or more structures - Macros - Haxe programming language cookbook
Haxe makes it easy to define extensions for a typedef, but there is no easy way to combine the values of two or more structures to one, like {a:2} and {b:foo} to {a:2,b:foo}. The following macro does this for you.
[https://code.haxe.org/category/macros/combine-objects.html](https://code.haxe.org/category/macros/combine-objects.html)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.