Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Akronymus
on Sept 21, 2022
|
parent
|
context
|
favorite
| on:
Learn how to unleash the full potential of the typ...
You could model that with one function taking that dependency and returning a new one with it included. Then you just use the one that has it included instead of the one that doesn't.
jcparkyn
on Sept 27, 2022
[–]
You still have to construct and pass in that dependency though, along with all of its dependencies, recursively.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: