<commit_before>---
layout: post
title: '2: Expressions & Functions'
date:   2017-08-21
audioURL: 'e002-Expressions-And-Functions'
categories: episodes
excerpt_separator: <!--more-->
---


<!--more-->
<!-- TOC -->

- [News and updates](#news-and-updates)
- [Expressions](#expressions)
- [Functions](#functions)

<!-- /TOC -->
## News and updates
* reach out, send a message to me on twitter @jstoelm
* [Elm Conf](https://www.elm-conf.us)
* thank Greg and Jason, the amazing guys over at [Dawn of the Dev](https://itunes.apple.com/us/podcast/dawn-of-the-devs-podcast/id1256007479?mt=2) for all their work in educating, helping, and promoting new developers from all walks of life into our fantastic community.


## Expressions
Using the elm-repl (read, evaluate, print, loop)
* Building with '+' for numbers and '++' for strings
	* No ability to add numbers and strings, '+' only for numbers. sweet.

	"hello " ++ "world"
	"hello world" : String --output

* "Double quotes in Elm represent string literals, just like in JavaScript, but single quotes in Elm represent **character** literals."<commit_msg>don't forget the description that will go on the main page!!!<commit_after>---
layout: post
title: '2: Expressions & Functions'
date:   2017-08-21
audioURL: 'e002-Expressions-And-Functions'
categories: episodes
excerpt_separator: <!--more-->
---
We tackle expressions and functions in Elm. Compare and contrast them to what we might already know in Javascript, and try to lay a solid foundation to build upon. 

<!--more-->
<!-- TOC -->

- [News and updates](#news-and-updates)
- [Expressions](#expressions)
- [Functions](#functions)

<!-- /TOC -->
## News and updates
* reach out, send a message to me on twitter @jstoelm
* [Elm Conf](https://www.elm-conf.us)
* thank Greg and Jason, the amazing guys over at [Dawn of the Dev](https://itunes.apple.com/us/podcast/dawn-of-the-devs-podcast/id1256007479?mt=2) for all their work in educating, helping, and promoting new developers from all walks of life into our fantastic community.


## Expressions
Using the elm-repl (read, evaluate, print, loop)
* Building with '+' for numbers and '++' for strings
	* No ability to add numbers and strings, '+' only for numbers. sweet.

	"hello " ++ "world"
	"hello world" : String --output

* "Double quotes in Elm represent string literals, just like in JavaScript, but single quotes in Elm represent **character** literals."
{'fraction_non_alphanumeric': 0.13463131731565867, 'fraction_numerical': 0.019055509527754765, 'mean_word_length': 4.138297872340425, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2969276', 'n_tokens_mistral': 767, 'n_tokens_neox': 716, 'n_words': 282}