Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115457 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 40612 invoked from network); 17 Jul 2021 15:45:43 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Jul 2021 15:45:43 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 18A381804D0 for ; Sat, 17 Jul 2021 09:10:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 17 Jul 2021 09:10:14 -0700 (PDT) Received: by mail-yb1-f179.google.com with SMTP id a16so19968623ybt.8 for ; Sat, 17 Jul 2021 09:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jEwTWu0Qu+8RGTMFlp4xFRB6YTU9jCCDKjgH+59rsRE=; b=Hz9KMtTxMtSDt4FP7RMOCoi+VSWedNL7A8RQ0P0azsCccDqb8gCAHBwU0yq6rTU8A2 2zBJW7o0LEm5As9NzMohfoMNvyBCk8bapVW2rg9QqFfClhNd9CPWQsHw9Pe6eXITKRtQ UBNHBwNR0XpNidROocwKFb8FTCcKbLij0IYYM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jEwTWu0Qu+8RGTMFlp4xFRB6YTU9jCCDKjgH+59rsRE=; b=XCVYB8nKkoiMT4kP4LRHY8zEfXU2zpT3MIn4jbwmn18NWc0I9au5orOsqToUt9V9ap AJW7zmb2qrRyEFC1M1oJu7WNINgnKpjvTAZRoKaemMzbIkX7RS6X5NcNH9YuGumKbn0P BD/uPRwSUbj7Wmp926AiKMubY9dID3N50PpgCQ9+EsCu9RpfcVWhCKRRmJA8tXWSIbCc SbxPxgdTnsocgX8of3KoRHNoj48IxJimdKVMqUUi8CliYCxkp+IMGwf4o6xy70pCzwiz yuH4MutnX/tedPYpKBKSWYsZzT7bov4u9lyL1FnR54z/OY4bc3/VNuPnQNZ68bAu30xP pEYA== X-Gm-Message-State: AOAM532Vygd2rAKrBaEbvlFejW8iS8Tef4wIF2MZOUYWqFmUhqYHqdKF S/56oHgP0qpEVmqMMvZHWSRZ1qObh1IZtgMNIlVnZw== X-Google-Smtp-Source: ABdhPJzsKTTkUfuE3XQsXv6LeL+GSJEAX7t9IvBMKcQBpDQh0bsNQmc4QtST4NoXl29Mej9gHSnmOFz/lXRGHbEWmZQ= X-Received: by 2002:a25:b993:: with SMTP id r19mr19825339ybg.445.1626538212413; Sat, 17 Jul 2021 09:10:12 -0700 (PDT) MIME-Version: 1.0 References: <6a2ef792-9624-4355-ad08-dcc7bfa5e19f@www.fastmail.com> In-Reply-To: Reply-To: Levi Morrison Date: Sat, 17 Jul 2021 10:10:01 -0600 Message-ID: To: Marco Pivetta Cc: Larry Garfield , php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [Vote] Pipe operator v2 From: internals@lists.php.net ("Levi Morrison via internals") > Pol Dellaiera (https://github.com/drupol) has done a lot of work around > this stuff, specifically the type inference bit, in > https://github.com/loophp/combinator , so I see hope to get better types at > a later stage. I don't see a pipe combinator in there, but maybe I can't see it through the poor formatting of the table... It's been a while since I delved deep into type theory, but I am not aware of any language which supports this sort of type safety in functions while being variadic. Are you aware of any? The only ones I am aware of use macros, which are different as they are evaluated and expanded at compile time.