Skip to content

Document generic type argument inference - #593

Merged
SeanTAllen merged 1 commit into
mainfrom
sean/type-argument-inference
Sep 4, 2026
Merged

Document generic type argument inference#593
SeanTAllen merged 1 commit into
mainfrom
sean/type-argument-inference

Conversation

@SeanTAllen

@SeanTAllen SeanTAllen commented Sep 3, 2026

Copy link
Copy Markdown
Member

Documents generic type argument inference from ponyc PR #5974 and restructures the generics tutorial section.

The generics overview was doing too much in one page — practical how-to content was buried in what readers expect to be a brief introduction. This trims the overview to the concept (what generics are, what the syntax looks like at a glance) and moves all the practical content to a "Using Generics" page with subsections for generic classes, type parameter defaults, generic methods, and type argument inference.

Depends on ponylang/ponyc#5974 being released first.

@SeanTAllen SeanTAllen added the do not merge This PR should not be merged at this time label Sep 3, 2026
@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploy Preview for pony-tutorial ready!

Name Link
🔨 Latest commit f749a0d
🔍 Latest deploy log https://app.netlify.com/projects/pony-tutorial/deploys/6a998b75dca54b0007a4d6e3
😎 Deploy Preview https://deploy-preview-593--pony-tutorial.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Sep 3, 2026
@SeanTAllen SeanTAllen mentioned this pull request Sep 3, 2026
25 tasks
@SeanTAllen
SeanTAllen force-pushed the sean/type-argument-inference branch from 477af31 to 5d6d7f4 Compare September 3, 2026 14:49
ponyc PR #5974 adds type argument inference for generic method and
constructor calls.

The generics overview was doing too much in one page — the practical
how-to content was buried in what readers expect to be a brief
introduction. This trims the overview to the concept (what generics are,
what the syntax looks like at a glance) and moves all the practical
content to a "Using Generics" page with subsections for generic classes,
type parameter defaults, generic methods, and type argument inference.
@SeanTAllen
SeanTAllen force-pushed the sean/type-argument-inference branch from 5d6d7f4 to f749a0d Compare September 3, 2026 15:00
@SeanTAllen
SeanTAllen merged commit a41703f into main Sep 4, 2026
10 checks passed
@SeanTAllen
SeanTAllen deleted the sean/type-argument-inference branch September 4, 2026 01:42
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge This PR should not be merged at this time

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants