Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

asarkar/haskellings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My solutions to the exercises from haskellings.

  • The tests have been separated from the main code.
  • There no need to use the custom haskellings executable (see "Running tests" below).

Progression

The first step is to inspect the introduction modules under the basics package. They contain examples of data structures and Haskell syntax. They do not contain tests and exist to provide a cursory examination of Haskell syntax.

After this, we recommend the following progression of modules:

Running tests

./.github/run.sh

To run all matching tests:

./.github/run.sh -p '<some_word>'

To run a specific test:

./.github/run.sh -p '<testGroup>.<testCase>'

where testGroup and testCase are the names of the corresponding Tasty namesakes.

To list all tests, in the format accepted by the -p flag:

./.github/run.sh -l

See more about selection patterns here.

To run a file containing a main method:

stack runhaskell <path/to/file> <arg1> <arg2>

To run an executable listed in package.yaml:

stack build
stack exec <name>

License

Released under Apache License v2.0.

About

Haskell Programming Course

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published