Skip to content

rickfleischer/Beginners

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%