I have a Haskell project that's built with Stack.
In my Cabal file, I've added a bunch of libraries as dependencies, tls for example.
Is there a command to get the version of a specific library used in my project?
I know from stack.yaml
that I'm using the resolver lts-14.16
. I could therefore visit the page of this LTS on Stackage and look for the version number of my library there. But I hope there's a more straightforward way, using the command line, to do this.