Exercise dependencies

Open
#186 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
build-system

Research direction

Start by reviewing the existing spago.dhall setup and how example solutions are built and tested under CI. Resolve whether student dependencies should be shared or minimal and whether solution dependencies should be separated into a solution.dhall file. Done means the dependency policy is agreed and the Spago configuration and CI behavior reflect it without unnecessary unused-dependency warnings.

Written by the indexing model from the issue text.

Description

I've put in some work into the switch over to Spago. One thing that has me thinking is how to deal with exercise dependencies (spago.dhall).

  • We have the example solution which make use of certain dependencies. These are not necessarily the dependencies the student needs to use to solve the exercise. I'm thinking we could decouple these by having a spago.dhall file, i.e. solution.dhall to use for building and testing under CI.
  • Do we give the student a common set of dependencies so they do not need to worry about installing anything. Or do we give them the absolute basics and make them install anything they use? PureScript 0.14.x will start warning about unused dependencies and this can be a bit annoying.

Your thoughts?

Dominant language
PureScript
Stars
38
Forks
35
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from exercism/purescript

All issues in exercism/purescript

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.