AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Add a Package Into a Stack
The basic validation that you have to do in the add command is like, well, is there actualy a thing to add here? Like, if you try to add food, foo's already in you're manifest, then what are we doing? Don't make any sense. But once we've established that, likeits a sort of valid request, then you have to resolve the name. How do i know whatfoo is? And that's going to depend on the toice of your to wat earlier for the package manager. In order to add a you have to reconsider the entire graph. So you run through a version selection process to basically pick a new version for all your dependencies and