shortcuts-swift
shortcuts-swift copied to clipboard
An ActionContainer array should itself be an ActionContainer
This would alleviate the need for the + operator.
Before:
let shortcut = buildShortcut(
foo() +
bar() +
baz()
)
After:
let shortcut = buildShortcut([
foo(),
bar(),
baz()
])
Not sure if this is actually even possible due to type constraint limitations.