We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with-node-name
To demonstrate the problem, this is what we had/still have:
(node "new-password" ${gui.text-field}) (edge "new-password" "out" _ "change-controls" "place" 10) (mesg "new-password" "in" '(init . ((label . "New password") (style . (single password)))))
notice how "new-password" is repeated many times. So this approach was developed:
(with-node-name "new-password" (node ${gui.text-field}) (edge "out" "change-controls" "place" #:selection 10) (mesg "in" '(init . ((label . "New password") (style . (single password))))))
It makes sense to use the word with-node instead of with-node-name. though with-node seems clunky when sitting side-by-side (node ...) i.e.:
with-node
(node ...)
(with-node-name "node-name" (node {$blah}))
It would seem it's more reasonable to do this:
(with-node "new-password" ${gui.text-field} (edge "new-password" "out" _ "change-controls" "place" 10)
In the case a node has already been introduced then omit the ${...}. i.e.:
${...}
(node "new-password" ${gui.text-field}) (with-node "new-password" (edge "new-password" "out" _ "change-controls" "place" 10)
The text was updated successfully, but these errors were encountered:
Yes, this is a good way to do it.
Sorry, something went wrong.
No branches or pull requests
To demonstrate the problem, this is what we had/still have:
notice how "new-password" is repeated many times. So this approach was developed:
It makes sense to use the word
with-node
instead ofwith-node-name
.though
with-node
seems clunky when sitting side-by-side(node ...)
i.e.:(with-node-name "node-name" (node {$blah}))
It would seem it's more reasonable to do this:
In the case a node has already been introduced then omit the
${...}
. i.e.:The text was updated successfully, but these errors were encountered: