Hello, this is my first time posting in this wonderful community.
I would like to import the following project into my VSC. This is the structure of the project:
The problem is, the system doesn’t find Board
nor Ploy
modules, and not even System.Random
. How can I configure my setup to solve the problem ?
package.yaml
name: ploy
version: 1.0.0.0
author: "Simon Schwan"
maintainer: "s.schwan@tu-berlin.de"
copyright: "2022 TU Berlin - Software and Embedded Systems Engineering (SESE)"
dependencies:
- base >= 4.7 && < 5
- split
- random
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -Wno-missing-export-lists
- -fno-warn-missing-signatures
- -fno-warn-name-shadowing
- -fno-warn-incomplete-patterns
library:
source-dirs: src
executables:
ploy:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- ploy
tests:
units:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- ploy
- hspec
validate:
main: Spec.hs
source-dirs: validate
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- ploy
- hspec