# Pascals Triangle in Elm

#### Compute Pascal's triangle up to a given number of rows.

1 | ```
exercism fetch elm pascals-triangle
``` |

# Pascal's Triangle

Compute Pascal's triangle up to a given number of rows.

In Pascal's Triangle each number is computed by adding the numbers to the right and left of the current position in the previous row.

## Elm Installation

Refer to the Exercism help page for Elm installation and learning resources.

## Writing the Code

The first time you start an exercise, you'll need to ensure you have the appropriate dependencies installed.

1 |
```
$ elm-package install --yes
``` |

Execute the tests with:

1 |
```
$ elm-test
``` |

Automatically run tests again when you save changes:

1 |
```
$ elm-test --watch
``` |

As you work your way through the test suite, be sure to remove the `skip <|`

calls from each test until you get them all passing!

## Source

Pascal's Triangle at Wolfram Math World http://mathworld.wolfram.com/PascalsTriangle.html

## Submitting Incomplete Solutions

It's possible to submit an incomplete solution so you can see how others have completed the exercise.