Git Product home page Git Product logo

xhaskell's Introduction

xHaskell

Build Status

Exercism exercises in Haskell

Contributing Guide

Please see the contributing guide

Development Dependencies

Currently, development of the Haskell track assumes that you are using GHC 7.8.3 with Haskell Platform installed. The following packages need to be installed if not using Haskell Platform:

$ comm -13 \
  <(ghc-pkg --global list --simple-output --names-only \
  | tr ' ' '\n') \
  <(find . -name '*.hs' \
  | xargs awk \
    '/^import/ {if ($2 == "qualified") {print $3} else {print $2}}' \
  | sort -u \
  | xargs -n1 ghc-pkg find-module --simple-output --names-only \
  | cut -d' ' -f1 \
  | sort -u)
HUnit
QuickCheck
attoparsec
parallel
random
regex-base
regex-compat
split
stm
text
vector

Running tests

All the tests:

$./_test/check-exercises.hs
-- accumulate
Cases: 5  Tried: 5  Errors: 0  Failures: 0
[…]
-- wordy
Cases: 16  Tried: 16  Errors: 0  Failures: 0
-- zipper
Cases: 8  Tried: 8  Errors: 0  Failures: 0
SUCCESS!

Test only specific exercises:

$ ./_test/check-exercises.hs triangle trinary
-- triangle
Cases: 8  Tried: 8  Errors: 0  Failures: 0
-- trinary
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
SUCCESS!

License

The MIT License (MIT)

Copyright (c) 2014 Katrina Owen, [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.