Why are parentheses not used after update
here?
'Fulfilled': stategroup (
'No' { }
'Processing' {
'Report Fulfillment': command {
'Result': stategroup (
'Success' { }
'Failure' { }
)
} => switch @ .'Result' (
|'Success' => update ^ .'Fulfilled' = ensure 'Yes' ( ) //<--!!!
|'Failure' => update ^ .'Fulfilled' = ensure 'Processing' ( ) //<--!!!
)
)
}
'Yes' {
'At': number 'date-time' = creation-time
}
)
While they are required after update
here?
'Fulfill': command {
} => update ( //<--!!!
'Fulfilled' = ensure 'Processing' ( )
) //<--!!!