I'm trying to set this up under MacOS. After forking this, installing cabal and Haskell, installing homebrew, installing llvm, setting paths appropriately, if I run cabal run aoc-dev I get the following error:
app/AOC.hs:1:1: error:
File name does not match module name:
Saw: ‘Main’
Expected: ‘AOC’
|
1 | {-# LANGUAGE OverloadedStrings #-}
| ^
(This is almost certainly something beginner-y, still trying to figure out how stack works. I played around with a few random "put a module incantation" somewhere attempts, but nothing I tried so far helped.)
Hi!
I'm trying to set this up under MacOS. After forking this, installing cabal and Haskell, installing homebrew, installing llvm, setting paths appropriately, if I run
cabal run aoc-dev
I get the following error:(This is almost certainly something beginner-y, still trying to figure out how stack works. I played around with a few random "put a module incantation" somewhere attempts, but nothing I tried so far helped.)