René's URL Explorer Experiment


Title: `TypeVarTuple` and Cartesian Product of functions · python/typing · Discussion #1545 · GitHub

Open Graph Title: `TypeVarTuple` and Cartesian Product of functions · python/typing · Discussion #1545

X Title: `TypeVarTuple` and Cartesian Product of functions · python/typing · Discussion #1545

Description: `TypeVarTuple` and Cartesian Product of functions

Open Graph Description: Consider the Cartesian product of functions def prod_fn(*funcs): r"""Cartesian Product of Functions. It is assumed every function takes a single positional argument. """ def __prod_fn(args, /): """...

X Description: Consider the Cartesian product of functions def prod_fn(*funcs): r"""Cartesian Product of Functions. It is assumed every function takes a single positional argument. ""&quo...

Opengraph URL: https://github.com/python/typing/discussions/1545

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"`TypeVarTuple` and Cartesian Product of functions","text":"\u003cp dir=\"auto\"\u003eConsider the \u003ca href=\"https://en.wikipedia.org/wiki/Cartesian_product#Cartesian_product_of_functions\" rel=\"nofollow\"\u003eCartesian product of functions\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"def prod_fn(*funcs):\n    r\u0026quot;\u0026quot;\u0026quot;Cartesian Product of Functions.\n\n    It is assumed every function takes a single positional argument.\n    \u0026quot;\u0026quot;\u0026quot;\n\n    def __prod_fn(args, /):\n        \u0026quot;\u0026quot;\u0026quot;Argument is a tuple with the input for each function.\u0026quot;\u0026quot;\u0026quot;\n        return tuple(f(arg) for f, arg in zip(funcs, args))\n\n    return __prod_fn\"\u003e\u003cpre class=\"notranslate\"\u003e\u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eprod_fn\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003efuncs\u003c/span\u003e):\n    \u003cspan class=\"pl-s\"\u003er\"\"\"Cartesian Product of Functions.\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e    It is assumed every function takes a single positional argument.\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e    \"\"\"\u003c/span\u003e\n\n    \u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003e__prod_fn\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eargs\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e):\n        \u003cspan class=\"pl-s\"\u003e\"\"\"Argument is a tuple with the input for each function.\"\"\"\u003c/span\u003e\n        \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-en\"\u003etuple\u003c/span\u003e(\u003cspan class=\"pl-en\"\u003ef\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003earg\u003c/span\u003e) \u003cspan class=\"pl-k\"\u003efor\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003earg\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003ein\u003c/span\u003e \u003cspan class=\"pl-en\"\u003ezip\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003efuncs\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eargs\u003c/span\u003e))\n\n    \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003e__prod_fn\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eHow to type hint it? It should be something along the lines of\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"def prod_fn(*funcs: *tuple[???]) -\u0026gt; Callable[[tuple[*U]], tuple[*V]]:\n    r\u0026quot;\u0026quot;\u0026quot;Cartesian Product of Functions.\n\n    It is assumed every function takes a single positional argument.\n    \u0026quot;\u0026quot;\u0026quot;\n\n    def __prod_fn(args: tuple[*U], /) -\u0026gt; tuple[*V]:\n        \u0026quot;\u0026quot;\u0026quot;Argument is a tuple with the input for each function.\u0026quot;\u0026quot;\u0026quot;\n        return tuple(f(arg) for f, arg in zip(funcs, args))\n\n    return __prod_fn\"\u003e\u003cpre class=\"notranslate\"\u003e\u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eprod_fn\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003efuncs\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[???]) \u003cspan class=\"pl-c1\"\u003e-\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eCallable\u003c/span\u003e[[\u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eU\u003c/span\u003e]], \u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eV\u003c/span\u003e]]:\n    \u003cspan class=\"pl-s\"\u003er\"\"\"Cartesian Product of Functions.\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e    It is assumed every function takes a single positional argument.\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e    \"\"\"\u003c/span\u003e\n\n    \u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003e__prod_fn\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eargs\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eU\u003c/span\u003e], \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003e-\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eV\u003c/span\u003e]:\n        \u003cspan class=\"pl-s\"\u003e\"\"\"Argument is a tuple with the input for each function.\"\"\"\u003c/span\u003e\n        \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-en\"\u003etuple\u003c/span\u003e(\u003cspan class=\"pl-en\"\u003ef\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003earg\u003c/span\u003e) \u003cspan class=\"pl-k\"\u003efor\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003earg\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003ein\u003c/span\u003e \u003cspan class=\"pl-en\"\u003ezip\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003efuncs\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eargs\u003c/span\u003e))\n\n    \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003e__prod_fn\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eWhere \u003ccode class=\"notranslate\"\u003eU\u003c/code\u003e and \u003ccode class=\"notranslate\"\u003eV\u003c/code\u003e are \u003ccode class=\"notranslate\"\u003eTypeVarTuples\u003c/code\u003e for the inputs and outputs of each individual function. But I fail to see how to express the concept that \u003ccode class=\"notranslate\"\u003efuncs\u003c/code\u003e is the variadic tuple \u003ccode class=\"notranslate\"\u003etuple[Callable[[U₁], V₁]], Callable[[U₂], V₂]], ..., Callable[[Uₙ], Vₙ]]]\u003c/code\u003e\u003c/p\u003e","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003eThis just isn't possible yet, this would require something like a \u003ccode class=\"notranslate\"\u003eMap\u003c/code\u003e construct to apply a type to each element of the \u003ccode class=\"notranslate\"\u003eTypeVarTuple\u003c/code\u003e, (although this case is even more complex since there's two \u003ccode class=\"notranslate\"\u003eTypeVarTuple\u003c/code\u003e that both need to be mapped at the same time)\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eRight now you can only unpack a \u003ccode class=\"notranslate\"\u003eTypeVarTuple\u003c/code\u003e directly into other variadic generics (i.e. \u003ccode class=\"notranslate\"\u003etuple\u003c/code\u003e, \u003ccode class=\"notranslate\"\u003eCallable\u003c/code\u003e, \u003ccode class=\"notranslate\"\u003eUnion\u003c/code\u003e and any user-defined generics that take a \u003ccode class=\"notranslate\"\u003eTypeVarTuple\u003c/code\u003e).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eP.S. Wouldn't you need to use varargs for it to actually be the cartesian product of functions? The definition to me looks like the resulting function is supposed to have as many arguments as input functions, not one argument that's a tuple of all the inputs.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"def prod_fn(*funcs: *Map[(U, V), Callable[[U], V]]]) -\u0026gt; Callable[[*U], tuple[*V]]:\n    r\u0026quot;\u0026quot;\u0026quot;Cartesian Product of Functions.\n\n    It is assumed every function takes a single positional argument.\n    \u0026quot;\u0026quot;\u0026quot;\n\n    def __prod_fn(*args: *U) -\u0026gt; tuple[*V]:\n        \u0026quot;\u0026quot;\u0026quot;Argument is a tuple with the input for each function.\u0026quot;\u0026quot;\u0026quot;\n        return tuple(f(arg) for f, arg in zip(funcs, args))\n\n    return __prod_fn\"\u003e\u003cpre class=\"notranslate\"\u003e\u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eprod_fn\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003efuncs\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-v\"\u003eMap\u003c/span\u003e[(\u003cspan class=\"pl-c1\"\u003eU\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003eV\u003c/span\u003e), \u003cspan class=\"pl-v\"\u003eCallable\u003c/span\u003e[[\u003cspan class=\"pl-c1\"\u003eU\u003c/span\u003e], \u003cspan class=\"pl-c1\"\u003eV\u003c/span\u003e]]]) \u003cspan class=\"pl-c1\"\u003e-\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eCallable\u003c/span\u003e[[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eU\u003c/span\u003e], \u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eV\u003c/span\u003e]]:\n    \u003cspan class=\"pl-s\"\u003er\"\"\"Cartesian Product of Functions.\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e    It is assumed every function takes a single positional argument.\u003c/span\u003e\n\u003cspan class=\"pl-s\"\u003e    \"\"\"\u003c/span\u003e\n\n    \u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003e__prod_fn\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003eargs\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eU\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003e-\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003etuple\u003c/span\u003e[\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eV\u003c/span\u003e]:\n        \u003cspan class=\"pl-s\"\u003e\"\"\"Argument is a tuple with the input for each function.\"\"\"\u003c/span\u003e\n        \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-en\"\u003etuple\u003c/span\u003e(\u003cspan class=\"pl-en\"\u003ef\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003earg\u003c/span\u003e) \u003cspan class=\"pl-k\"\u003efor\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003earg\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003ein\u003c/span\u003e \u003cspan class=\"pl-en\"\u003ezip\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003efuncs\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eargs\u003c/span\u003e))\n\n    \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003e__prod_fn\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e","upvoteCount":2,"url":"https://github.com/python/typing/discussions/1545#discussioncomment-7868224"}}}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:f8053ca3-6380-08e2-834e-a4dba998ad59
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-id8052:3204C8:2FA3729:3EEAF52:6B00287A
html-safe-nonced9b3b33470a73b21a05f6864cbf06a8ad5b7f527da2ae48f65b70075383662ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDUyOjMyMDRDODoyRkEzNzI5OjNFRUFGNTI6NkIwMDI4N0EiLCJ2aXNpdG9yX2lkIjoiODM1MjA2MDU1MjA5MjE2MTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5821feeb2b330838cb34ae3837e20f83822bbc244e665b903a2948fe9566b6dc
hovercard-subject-tagdiscussion:5964770
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/python/typing/1545/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/b205f074664f9cbf55c674ddcb2c73d2f19110375c4f10b2fe9fb392a8210053/python/typing/discussions/1545
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b205f074664f9cbf55c674ddcb2c73d2f19110375c4f10b2fe9fb392a8210053/python/typing/discussions/1545
og:image:altConsider the Cartesian product of functions def prod_fn(*funcs): r"""Cartesian Product of Functions. It is assumed every function takes a single positional argument. """ def __prod_fn(args, /): """...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typing/discussions/1545#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fdiscussions%2F1545
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fdiscussions%2F1545
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=python%2Ftyping
Reloadhttps://github.com/python/typing/discussions/1545
Reloadhttps://github.com/python/typing/discussions/1545
Reloadhttps://github.com/python/typing/discussions/1545
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
Answered https://github.com/python/typing/discussions/1545#discussioncomment-7868224
Daverballhttps://github.com/Daverball
randolf-scholz https://github.com/randolf-scholz
Q&Ahttps://github.com/python/typing/discussions/categories/q-a
`TypeVarTuple` and Cartesian Product of functions https://github.com/python/typing/discussions/1545#top
randolf-scholz https://github.com/randolf-scholz
Answered https://github.com/python/typing/discussions/1545#discussioncomment-7868224
Daverballhttps://github.com/Daverball
Return to tophttps://github.com/python/typing/discussions/1545#top
Please reload this pagehttps://github.com/python/typing/discussions/1545
https://github.com/python/typing/discussions/1545
Please reload this pagehttps://github.com/python/typing/discussions/1545
https://github.com/python/typing/discussions/1545
randolf-scholz https://github.com/randolf-scholz
Dec 15, 2023 https://github.com/python/typing/discussions/1545#discussion-5964770
Cartesian product of functionshttps://en.wikipedia.org/wiki/Cartesian_product#Cartesian_product_of_functions
Daverball https://github.com/Daverball
Dec 15, 2023 https://github.com/python/typing/discussions/1545#discussioncomment-7868224
View full answer https://github.com/python/typing/discussions/1545#discussioncomment-7868224
Oldest https://github.com/python/typing/discussions/1545?sort=old
Newest https://github.com/python/typing/discussions/1545?sort=new
Top https://github.com/python/typing/discussions/1545?sort=top
Please reload this pagehttps://github.com/python/typing/discussions/1545
https://github.com/python/typing/discussions/1545
Daverball https://github.com/Daverball
Dec 15, 2023 https://github.com/python/typing/discussions/1545#discussioncomment-7868224
https://github.com/Daverball
Please reload this pagehttps://github.com/python/typing/discussions/1545
https://github.com/python/typing/discussions/1545
Please reload this pagehttps://github.com/python/typing/discussions/1545
https://github.com/python/typing/discussions/1545
Daverballhttps://github.com/Daverball
Dec 16, 2023 https://github.com/python/typing/discussions/1545#discussioncomment-7869592
randolf-scholzhttps://github.com/randolf-scholz
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fdiscussions%2F1545
🙏 Q&A https://github.com/python/typing/discussions/categories/q-a
https://github.com/randolf-scholz
https://github.com/Daverball
https://github.com/python/typing/discussions/1545
https://github.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.