Using alex/happy with Cabal

后端 未结 2 1341
闹比i
闹比i 2021-02-19 11:31

I\'m writing a compiler for a class I\'m taking. The class isn\'t specifically Haskell but I\'m using Haskell to write my compiler and interpreter. I have a cabal package setup

2条回答
  •  Happy的楠姐
    2021-02-19 11:52

    Apparently what I was missing was actually the Other-modules: field. Once this was added, cabal happily (pardon the pun) built my interpreter.

提交回复
热议问题