X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2FGoalfile.pod;h=93ca2255bab0b2d8e800d812bb821dcbcc95c648;hb=4a0f02d061d551fbf3275ca4a82f0cf94f16eee5;hp=4c8c3a4d039d9261a860d51eef06c14d807647a5;hpb=2eb048d1e1112c296d028e1931947918d0a259fb;p=goals.git diff --git a/docs/Goalfile.pod b/docs/Goalfile.pod index 4c8c3a4..93ca225 100644 --- a/docs/Goalfile.pod +++ b/docs/Goalfile.pod @@ -199,6 +199,24 @@ There are two common uses for this: either to add explicit predicates (such as C) to a plain list of strings as in the example above; or to turn a list of strings into a list of goal or function calls. +=head2 Standard Shell Functions + +=head3 quoted_string + +Quote a string which will be consumed as a goal expression. This is +typically used from within goal functions which return expressions +(ie. ones which do I have an explicit C declaration). +You must not use this shell function with functions that are marked as +C or C. + +=head3 print_green + +Echo a string in green. Useful for success/OK messages. + +=head3 print_red + +Echo a string in red. Useful for error messages. + =head1 SEE ALSO L.