Zokka-Dev / zokka-compiler

Fork of compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
81 stars 0 forks source link

Add HIE yaml #16

Closed changlinli closed 4 weeks ago

changlinli commented 1 month ago

For some reason this seems to be necessary, otherwise we get the following error in VSCode with HLS:

Error: cabal: Ambiguous target
'/home/code/zelm-compiler/compiler/src/Generate/JavaScript.hs'.
It could be:
zokka-tests:compiler/src/Generate/JavaScript (file)
zokka:compiler/src/Generate/JavaScript (file)

Note that this has nothing to do with Zokka itself and is included purely for developer convenience (so the rest of this PR template is ignored).