Giter Site home page Giter Site logo

kotharan / haskell-prolog Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31 KB

CS381 @ Oregon State University

Haskell 85.45% Prolog 14.55%
haskell-language haskell haskell-learning haskell-exercises haskell-installing doctest prolog prolog-programming-language haskell-platform

haskell-prolog's Introduction

Haskell

Things to learn from file Doctest.hs

  • Creating funtion to add
  • Check condition
  • Multiple funtions
  • Math Calculation
  • Working with pair
  • Working with lists

Need help Running Haskell Code??

  • Haskell Platform – The easiest way to start using Haskell. I will assume you have this installed.

  • Hackage – The central package archive for the Haskell community. There are lots of useful libraries here. You can install them using the cabal tool, which comes with the Haskell Platform. First, run the following command to download the list of packages on Hackage.

  cabal update

Then you can install new packages by running the following command.
  cabal install [package-name]
  • How to cabal install – A longer tutorial about installing packages from Hackage, in case you run into problems.

  • Doctest – A useful tool for running examples in comments as unit tests. We’ll use this in some Homework assignments. You can install doctest using cabal install doctest, as described above.

You will probably also need to add the installation directory to your $PATH. Here are my best guesses as to where that will be:

Linux: ~/.cabal/bin
Mac: ~/Library/Haskell/bin
Windows: C:\Program Files\Haskell\bin

haskell-prolog's People

Contributors

kotharan 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.