# Search results for "Function composition"

68 results, page 1 of 4. Each result is an email: results with the same thread number are in the same thread. The link opens the thread as Markdown, find the email in it by its number.

More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

1. [Array arguments for str functions](https://externals.io/message/130366.md) — email #130366 in thread #130319, by Barel on 2026-03-16
   > … are over simple **function** **composition** (array_any was introduced for exactly this sort of job and is applicable to any **function**) I agree. Especially since the Partial **Function** Application RFC was accepted an ad-hoc implementation would just be: $str …
2. [[RFC] Pipe to return](https://externals.io/message/130055.md) — email #130055 in thread #129964, by Vadim Dvorovenko on 2026-02-08
   > 04.02.2026 04:58, Morgan: I'm wondering how this would relate to the **function** **composition** operator, noted in the follow-up RFC. Basically, would "return" make sense at the end of a **function** **composition** chain, and what sense …
3. [[RFC] Pipe Operator (again)](https://externals.io/message/127561.md) — email #127561 in thread #126318, by Larry Garfield on 2025-06-03
   > … for that is already written, just needs code. I hope to formally propose it soon: https://wiki.php.net/rfc/**function**-**composition** Hmm, that's great, but looks like we are missing something. Would you propose the RFC to 8 …
4. [[RFC] Pipe Operator, take 2](https://externals.io/message/114785.md) — email #114785 in thread #114770, by Larry Garfield on 2021-06-08
   > … show how ugly it can get, but I can shorten it. About Haskell, rather than (or in addition to) the **function** **composition** [not "concatenation"] (.), I would mention the reverse application operator (&): https://hackage.haskell.org/package/base-4.15.0 …
5. [[RFC] Function pipe operator](https://externals.io/message/109791.md) — email #109791 in thread #109734, by Bruce Weirdan on 2020-04-22
   > … a small pedantry note - in a comparison section, the RFC compares this syntax to **function** **composition**. But this is not **function** **composition**. This is a syntax sugar for calling two functions one after another, not operator that produces a **function** …
6. [[RFC] switch expression](https://externals.io/message/109294.md) — email #109294 in thread #109289, by Larry Garfield on 2020-03-25
   > … s not already a variable. My first thought there is to borrow the $$ variable name from Sara's old **function** **composition** proposal, but there may be others. There's likely other issues to discuss here but allowing expressions on …
7. [Concept: built-in functions for common functional primitives (composition, partial application, etc.)](https://externals.io/message/100739.md) — email #100739 in thread #100739, by Andrea Faulds on 2017-09-21
   > … mean by “functional primitives”, here are some examples: **Function** **composition**: a **function** that takes a **function** f($x) and a **function** g($y) and returns a new **function**($x) { return g(f($x)); }. Thus compose("trim", "strtoupper") returns a **function** …
8. [[RFC][VOTE] Add validation functions to filter module](https://externals.io/message/95250.md) — email #95250 in thread #95159, by Yasuo Ohgaki on 2016-08-17
   > … not There is no reason good enough for justifying yet another added endpoint that can even be implemented with simple **function** **composition**. OK. Thank you. You prefer full userland implementation. In addition to that, the lack of a strongly typed …
9. [AW: AW:  Re: [RFC] Void Return Type (v0.2, reöpening)](https://externals.io/message/88938.md) — email #88938 in thread #88792, by Robert Stoll on 2015-10-26
   > … least) in an E_NOTICE. But maybe that is something for PHP 8. I dislike this, because it punishes dynamic code (**function** **composition**). For example: $logUtility = partialLeft(**function**(string $a, string $b): void { syslog(LOG_INFO, $a . ": " . $b); }); $log = $log("
10. [internals Digest 23 Nov 2013 00:01:03 -0000 Issue 3138](https://externals.io/message/70310.md) — email #70310 in thread #70310, by Walter Parker on 2013-11-23
   > … the order present means that there are not math operators that are right associative. This is not true. Assignment and **function** **composition** are right associative. As for why the exponent operator SHOULD (not must, should) be right assocative, let me …
11. [Traits and Properties](https://externals.io/message/51021.md) — email #51021 in thread #51007, by Stefan Marr on 2010-12-13
   > … does not have any effect. Aliasing can be used to make a **function** accessible that has a naming conflict with another **function**. It enables **composition** of traits, but does not do anything with regard which **function** names a trait-functio
12. [[RFC] Pipe Operator](https://externals.io/message/93265.md) — email #93265 in thread #92960, by Davey Shafik on 2016-05-12
   > … setting up "run this **function**, pass its result to this **function**, pass its result to this **function**, etc." That makes **composition** really easy. |> is essentially a continuation syntax. The $$ is to work around the fact that PHP **function** can …
13. [Alternatives for encapsulation when using composition instead of inheritance](https://externals.io/message/115863.md) — email #115863 in thread #115854, by Rowan Tommins on 2021-08-26
   > Don't know if this already exists, but maybe we could consider brainstorming or gather alternatives for different types of encapsulation when using **composition**? Although not quite equivalent to your suggestions, these threads on making delegation to an encapsulated …
14. [Composition over inheritance: native support for "delegating" methods?](https://externals.io/message/103368.md) — email #103368 in thread #103353, by Larry Garfield on 2018-10-22
   > Hi, I've been thinking about how the language could better support **Composition** patterns like Decorators and Proxies, using some simple syntax sugar not dissimilar to Traits. Example problem: The other day, I was writing a session handler which …
15. [Arrow function expressions in PHP](https://externals.io/message/88614.md) — email #88614 in thread #88514, by Levi Morrison on 2015-10-01
   > … $initial, $data), but that's still 2 steps rather than 3. Genuine question, not a criticism - this functional(?) style of **composition** is not something I'm very familiar with. (For the same reason, I struggle to read that **function** definition …
16. [[RFC] [Discussion] Native Markup Expressions](https://externals.io/message/131931.md) — email #131931 in thread #131925, by Garrett W. on 2026-07-15
   > … native syntax for HTML fragments as first-class PHP expressions, akin to how the frontend community has adopted JSX, with **composition** and escape-by-default output: class Greeting implements Markup\Html { public **function** __construct(public string $name) {} public **function** toHtml …
17. [[IDEA for RFC] class_uses and optionally returning traits for parent classes](https://externals.io/message/130669.md) — email #130669 in thread #130443, by Robert Humphries on 2026-04-19
   > … and the functions are not deprecated/warned against use/etc). That said, I certainly wouldn't be suggesting adding the **function** if it didn't already exist. But more over I don't even think you addition makes that much …
18. [[RFC] [Discussion] Add WHATWG compliant URL parsing API](https://externals.io/message/126502.md) — email #126502 in thread #123997, by ignace nyamagana butera on 2025-02-25
   > … single implementation - the internal one. The situation I'm telling about is when one will accept an argument described as **function** (\Uri\WhatWg\Url $url) If the Url class is final, this signature means only one possible implementation can ever …
19. [Two new functions array_first() and array_last()](https://externals.io/message/121419.md) — email #121419 in thread #121313, by Deleu on 2023-10-18
   > … to avoid ambiguity would be throwing an exception instead of involving the key because involving the key can be a **composition** between array_first()* and array_key_first(). Although I would prefer the **function** to throw, I think it will …
20. [[Vote] Pipe operator v2](https://externals.io/message/115456.md) — email #115456 in thread #115333, by Larry Garfield on 2021-07-17
   > … a while. The reason why I voted "no" is that this is feasible with a pipe(callable $first, callable ...$piped) **function**, without having to add syntax/AST for it. Type safety for such a closure would still be very messy …

Next page: https://externals.io/search.md?q=Function+composition&page=2
