repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hh_format pipe operator support - optional pretty print wrapping
[hiphop-php.git]
/
hphp
/
hack
/
test
/
format
/
pipe_operator_pretty_print_wrapping.php
blob
6dea4daea84eee9bb0fcacda823deb0b189441dc
1
<
?hh
2
function
piped
():
void
{
3
// These are less than 80 width, but the pretty newlines are preserved.
4
get_collection
()
5
|
>
map
(
$$
)
6
|
>
filter
(
$$
);
7
}