Results 4 issues of Ján

```hack foo($arg1, $arg2, ...$rest); ``` Provide some examples and describe what's allowed (tuple with enough elements; array only for varargs). https://github.com/facebook/hhvm/commit/60daa11f227847f2ca71fa37775f285e8122c784 has some good examples

guides-content

We should explain they are captured "by value", not "by reference", with specific examples: - example how `$captured_variable = ...` doesn't change the variable outside the lambda - example how...

guides-content

We should have a guide that documents: - `re"..."` literals (Hack-specific feature) - overview of the `HH\Lib\Regex` namespace from HSL, link to relevant API docs pages - link to an...

guides-content

Apparently some systems require `-latomic` when linking, while other systems don't have the library and the linker fails with `-latomic`. I copied this check from HHVM sources (https://github.com/facebook/hhvm/blob/master/CMake/HPHPFindLibs.cmake#L484), not sure...

CLA Signed