add parens for function calls in examples
Merge pull request #969 from jeremyjh/parens-stdlib-eg

add parens for function calls in examples