user-documentation
user-documentation copied to clipboard
Documentation for those that use HHVM and write Hack code.
can we put some code example for each of the hack api? Too few public usage out there. Solely looking at the api without examples could be real pain. --------------------------------...
Please complete the information below: # What is the problem? A `dict` is an **ordered** key-value data structure. What ordering guarantees are provided by `Dict\merge`: * First all keys in...
Please complete the information below: # Where is the problem? - Built-in-types Arrays: 'vec', 'dict', 'keyset' (all three sections) and - Built-in-types Arrays: 'Using dicts, keysets, and vecs' (table) #...
Future work: blocked by having a good parallelism API. Likely going to be something convenient around xbox. We have a mostly-compatible implementation of .expectf, .expectregex already for .typechecker.expectf: we no...
`.hack` should be used except when explicitly demonstrating `.hackpartial`
This should probably be: - Ubuntu 18.04 (for now) - Ubuntu 20.04 - Latest MacOS These should test standard developer workflow, rather than the 'build a docker image' workflow. It...
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...
Please complete the information below: # Where is the problem? https://docs.hhvm.com/hack/built-in-types/classname - - - eg "The section describing how widgets work" - - - # What is the problem? It...
Link to documentation of AsyncMysqlClient: https://docs.hhvm.com/hack/reference/class/AsyncMysqlClient/connect/ Link to documentation of AsyncMysqlConnectionPool: https://docs.hhvm.com/hack/reference/class/AsyncMysqlConnectionPool/connect/ Issues: 1. There is no explanation of how the MySSLContextProvider parameter works 2. AsyncMysqlConnectionPool is missing MySSLContextProvider entirely....
* you can define a constructor in a trait * trait T implements IFoo and trait T { require implements IFoo; } are both legal, but have slightly different meanings...