Hi,
I just started using Clash and went over the tutorial with the MAC example. When using the mealy machine without type annotation the compiler asks for type annotation, then I just use the type:
mac :: (Pack o, Num o) => (Signal o, Signal o) -> SignalP o
mac = macT <^> 0
Then I get this weird error which I think is related to installation:
Not in scope: type constructor or class ‘Pack’ ,
AND
Not in scope: type constructor or class ‘SignalP’
I have built the same MAC circuit in both linux and mac using stack with option B in the page below: (replaced the Example.Project with MAC source)
Before using the mealy machine it builds but when going sequential this happens. Can you advise me what is going on?
BTW, I have started to work with Clash so I'm going to ask many questions if that's fine with you :)
Thanks,
Mahshid