Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Don Romano 🍹 (thj@mastodon.cloud)'s status on Tuesday, 08-Oct-2019 16:57:29 EDT Don Romano 🍹 Don Romano 🍹

    If a function can take multiple arguments, I don’t see why it couldn’t return multiple results too.

    The workaround for that in current languages is to return an array or generator (iterator).

    Suppose you instead had a kind of inverted recursion where, if the caller only consumes one result and there are 10 results, the caller is invoked 9 times extra, and the 10 results are passed to the caller’s caller. If the result list isn’t reduced anywhere, 10 results are shown in the REPL.

    In conversation Tuesday, 08-Oct-2019 16:57:29 EDT from mastodon.cloud permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.