I am using haskell at VSCode. And i use stack's ghc. (i wrote export PATH=$PATH:/home/username/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.3/bin
at ~/.bashrc)
I don't have any problem at this, but nowadays, i can get the message at the VSCcode like this:
No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for filename.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie)
I cannot find the same message or solutions at Google. How can i solve this? or what cause the problem?
you can try create file "hie.yaml" to your project and write in "hie.yaml": cradle: stack:
Bob and Maksim are right. For completeness sake I would add that I found https://github.com/mpickering/hie-bios to be of interest, and that a minimal hie.yaml
containing
cradle: stack:
can work for a simple project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With