Giter VIP home page Giter VIP logo

1haskelladay's Introduction

1 Haskell A Day exercises

This project provides a git support for 1HaskellADay's exercises (see @1HaskellADay and the hashtag #1HaskellADay)

Getting started

  • Find an exercise in the exercises folder (there is one in the Exercise.hs file of each "leaf/date folder"). For example, the first one is in HAD\Y2014\M02\D24\Exercise.hs
  • Do it.
  • At the root of the project, run stack ghci: E.g.,
[~/Sources/learning/haskell/3rd/1HaskellADay (feature/stack)]
$ stack ghci
  • check your answer with check. E.g.,
λ> check =<< date 2017 2 6
Examples: 3  Tried: 3  Errors: 0  Failures: 0
  • compare your answer with the proposed one in the respective Solution.hs file; in order to check the solution, run
λ> doctest ["-iexercises/HAD", "exercises/HAD/Y2017/M02/D06/Solution.hs"]
Examples: 3  Tried: 3  Errors: 0  Failures: 0

The 1had executable

If you install 1HaskellADay, you can use the 1had executable for an easier access to the tests and exercices.

[~/Sources/learning/haskell/3rd/1HaskellADay (feature/stack)]
$ stack install

[~/Sources/learning/haskell/3rd/1HaskellADay (feature/stack)]
$ 1had check 2017 2 6
Examples: 3  Tried: 3  Errors: 0  Failures: 0

1haskelladay's People

Contributors

1haskelladay avatar berewt avatar geophf avatar normenmueller avatar raveline avatar

Watchers

 avatar

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.