GithubHelp home page GithubHelp logo

fp's Introduction

Functional Programming: test benches

Version history

20 Oct 20:40
You are now guaranteed to get only directories as input to find.
20 Oct 19:55
Fixed testEntries and the test for lsTree.
20 Oct 16:50
Added info on contact; removed sentence on the test for cp as it worked already.
20 Oct 14:00
Created repository with test bench for lab2.

How to get the test benches

Run this from a workstation:

git clone https://github.com/uob-fp/fp fp-testbenches

You now have the latest test bench on your laptop in directory fp-testbenches. This directory has a subdirectory Exercise2. Move (or copy) your Exercise.hs into this directory, and run

make

to test your submission. This will

  1. Check if the types of the exercises are as they were;
  2. If the types are right, it will run your functions with our inputs, and check if you get the expected outputs.

Then the test bench will give you an estimate of your mark for this submission.

From time to time, we may release new test benches to fix problems. You can update to a newer test bench simply by running git pull inside fp-testbenches. We will notify you when newer test benches are available.


You can also use Git from your laptop or home machine if you install it. As usual, you must module load ghc/7.6.3 whenever you use ghc.

In case of problems

Although we prepare the test bench with care, it is always possible that there is a bug. As usual, if you suspect there might be a problem, please report it on Facebook.

fp's People

Contributors

bgeron avatar nfarrington 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.