Giter Site home page Giter Site logo

monday-morning-haskell's Introduction

Haskell Liftoff Beginners Series

Welcome to the companion Github repository for our Liftoff series on Monday Morning Haskell! This code is meant to accompany the series so you can have hands-on examples to work with!

Using this Repository

The first article is done entirely within GHCI, the Haskell interpreter. So to follow along with the examples in that part, you'll just need to open the interpreter like so:

>> stack ghci

Then for the second two articles, you'll be working with some code examples. Each article has modules in this repository: the normal module, and the "complete" module. The latter contains all the code examples from the article already specified. The former contains mostly stubbed and undefined definitions, so that you can follow along with the article and fill out the different definitions.

In general, you should just work by confirming your code compiles by building it:

>> stack build

Though you can also examine the output of the various expressions by using GHCI and loading the modules:

>> stack ghci
...
> :l Syntax
> myIfStatement 1
3

In the article itself, you can also find some instructions for running the main function of the module as an executable.

Basic Syntax

For part 2 of the series, you'll want to use the Syntax module if you're following along, or the SyntaxComplete module if you're just looking for the reference.

And for the third part, you should look at DataTypes and DataTypesComplete!

monday-morning-haskell's People

Contributors

jhb563 avatar mondaymorninghaskell avatar

Watchers

James Cloos 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.