File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 96
96
97
97
# ## Generic Expression Handling ###
98
98
99
- # Convert an expression that is a vector with symbols that have values assigned using `=` to vector
100
- # where the assignment instead uses pairs (e.g. :([a=1.0, b=2.0])). Used to e.g. convert default
101
- # reaction metadata to a form that can be evaluated as actual code.
99
+ # Convert an expression that is a vector with symbols that have values assigned using `=`
100
+ # (e.g. :([a=1.0, b=2.0])) to a vector where the assignment instead uses symbols and pairs
101
+ # (e.g. :([a=>1.0, b=>2.0])). Used to e.g. convert default reaction metadata to a form that can be
102
+ # evaluated as actual code.
102
103
function expr_equal_vector_to_pairs (expr_vec)
103
104
pair_vector = :([])
104
105
foreach (arg -> push! (pair_vector. args, arg. args[1 ] => arg. args[2 ]), expr_vec. args)
You can’t perform that action at this time.
0 commit comments