Toy Language / Type Inference

Medium · Coding · 60 min

Model primitives, generics, recursive tuples, and function signatures with canonical formatting, infer return types via consistent generic binding with exact error messages, and parse signatures from strings.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems