using


using a value

using a pointer

using an import

using in a procedure

using in a struct

To do using in a struct it must be of the form using var_name : Type;, using #as var_name : Type;, using,except(var_name_1, ..., var_name_n) #as var_name : Type;, using,except(var_name_1, ..., var_name_n) #as var_name : Type;, using,only(var_name_1, ..., var_name_n) #as var_name : Type;

dealing with name collisions

If you just want to not include a certain field name you can do using,except(length) position: Your_Type_With_Length. Alternatively we can import only what we request by doing using,only(blah) foo : Type

Suppose that there is a field that represents the same thing. So in your setup you have a field called position, and then someone else made a type that holds this information as translation, you want to do "using" but then you have two fields representing the same thing which wshould be synchronized. To do this we can do using,map(proc) here proc is a function that takes in the names, and then TODO idk where I was going with this but my goal was to somehow do a compile time #place translation : position or something like that so they refer to the same thing.