turion / rhine

Haskell Functional Reactive Programming framework with type-level clocks
http://hackage.haskell.org/package/rhine
123 stars 21 forks source link

intero not working #124

Closed pdavidow closed 5 years ago

pdavidow commented 5 years ago

I can not get intero to work. I did stack build intero in rhine-examples, but import FRP.Rhine is not recognized (Could not find module `FRP.Rhine'), and hence intero does not function.

These are the steps I took:

git clone https://github.com/turion/rhine.git
cd rhine/rhine-examples
stack build
stack build intero

(Note that closing the IDE (VSCode) and bringing it up again did not help.)

turion commented 5 years ago

What is intero? It's not an executable defined in rhine-examples.cabal. If it's an executable you defined yourself, you must add rhine as a dependency in your .cabal.

turion commented 5 years ago

Ah I understand now. It's about https://github.com/chrisdone/intero. What documentation did you follow? What libraries does your approach work with?

pdavidow commented 5 years ago

I am using the Haskero VSCode extension, which in turn uses Intero, as per https://gitlab.com/vannnns/haskero/blob/master/client/doc/installation.md

Note that Haskero/Intero normally works with everything AFAIK.

pdavidow commented 5 years ago

Note that this issue is not a big deal because I can actually copy and paste the rhine-examples into my own package -- where intero does work fine.