Re:Use Your Type System
by fny on Friday July 25, 2025 @01:06AM
(#44679743)
This is also an incredibly useful technique with LLMs. If you alias types (e.g. str to DateStr) the LLM can better infer which functions to select and how to compose them
[ Parent
| on HN ]
How would you do this? Don't you have to define your types using JSON schema which supports only a limited set?