summaryrefslogtreecommitdiffhomepage
path: root/hack.html.markdown
Commit message (Collapse)AuthorAgeLines
* Remove leading and trailing empty lines in code blocksBoris Verkhovskiy2024-04-06-1/+0
|
* Revert update to code block headerAndrew2022-07-19-1/+1
| | | Reverting back to `php` as the `hack` header is likely not supported and the `php` highlighting is probably good enough (for now) to at least render the page.
* Run Hackfmt and improve examplesAndrew2022-07-15-8/+39
| | | | | Run hackfmt (the hack formatter) on the file Clean up examples in the hack arrays section Add a section on the unique binary pipe operator (and variable)
* Incorporate micro-feedbackAndrew2022-07-11-11/+19
| | | | | | | * Update documentation for using contains() and contains_key() with dict (previously incorrect) * Prefer to use HH\Asio\curl_exec() over \file_get_contents * Add example for enum class (enum of any type) * Remove incorrect description of `use` keyword in traits * Fix and improve various explanations in comments
* Update function namesAndrew2022-07-10-3/+3
| | | Follow best practices (function should be snake case [do_task()], and methods should be camel case [doTask()])
* Overhaul Hack in Y MinutesAndrew2022-07-10-278/+351
| | | | | This file was updated about 6 years ago. Since then, there have been many changes, including a distancing from PHP. This commit is an overhaul of the previous documentation for learning Hack in Y minutes. Over the years, there have also been many language changes and updates, for example, the introduction of Hack Arrays (vec, keyset, and dict) and the Hack Standard Language (HSL). To read more about how the language has changed and evolved, you can read the HHVM Blog: https://hhvm.com/blog/.
* Fix a bunch of typosHairyFotr2017-08-23-2/+2
|
* removing whitespace all overGabriel Halley2015-10-07-10/+10
|
* [hack/en] Fixed some typosDavid Lima2015-10-04-3/+4
|
* [hack/en] Fix link to other learnxinyminutes articleStephen Holdaway2015-02-18-3/+3
| | | | | | | | | | | | | | | | I had assumed a relative link to another markdown file in this project would work, but it renders as: http://learnxinyminutes.com/docs/hack/php.html.markdown instead of the desired: http://learnxinyminutes.com/docs/php/ I've replaced this relative link with an absolute link to where the target page is located on the published site. This commit also fixes a typo in markdown syntax at the end of the document.
* [hack/en] Add english Hack language pageStephen Holdaway2015-02-18-0/+307