X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=docs%2FGoalfile.pod;fp=docs%2FGoalfile.pod;h=37f3c07c7b2c637f48c426070618c5ca831a5487;hb=580298444204f92785a7ac78c4529e95e3cba40d;hp=40ca73a40f48f7383de6e5941576bd64b0041151;hpb=c3304e1ddf82ea319623c20a1d736d0cd743e377;p=goals.git diff --git a/docs/Goalfile.pod b/docs/Goalfile.pod index 40ca73a..37f3c07 100644 --- a/docs/Goalfile.pod +++ b/docs/Goalfile.pod @@ -38,6 +38,14 @@ For example: Returns the filename extension. +=head3 head (list) + +For example: + + head (["a", "b", "c"]) ⇒ "a" + +Returns the head (first) element of the list. + =head3 join (list1, list2) For example: @@ -76,6 +84,14 @@ This function works something like make’s C function, except that C is a regular expression, specifically a L extended regular expression. +=head3 tail (list) + +For example: + + tail (["a", "b", "c"]) ⇒ ["b", "c"] + +Returns the tail (all except first) elements of the list. + =head3 wildcard (pattern) For example: