Haskell: Install dependencies

Hello!

is there any way to install Haskell dependencies? I was going to edit package.yaml file but I read on top:

# DON'T EDIT THIS!
#
# Codecrafters relies on this file being intact to run tests successfully. Any changes
# here will not reflect when CodeCrafters tests your code, and might even cause build
# failures.
#
# DON'T EDIT THIS!

Also there’s a hidden cabal file but it specifies it’s created from the package.yaml file.

I wanted to use optparse-applicative. Not that I need it, but i like it for processing program arguments.

Thanks!

Hey @eel-765, it should be fine as long as you only modify the dependencies section in package.yaml. Our tester should pick up any added dependencies automatically.

Let me know if you run into any issues!

Awesome, I’ll try that. Thanks for the quick response!

1 Like