Skip to content

Instantly share code, notes, and snippets.

View vixduong's full-sized avatar

Duong Vi Xuan vixduong

  • evolableasian.vn
  • Ha Noi, Viet Nam
View GitHub Profile

Applied Functional Programming with Scala - Notes

Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.

1. Mastering Functions

A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.

val square : Int => Int = x => x * x
@vaalentin
vaalentin / package.json
Last active January 27, 2017 10:27
Webpack1 config files
{
"scripts": {
"start": "webpack-dev-server --config webpack.dev.config.js",
"clean": "rm -rf ./dist",
"build": "webpack --config webpack.prod.config.js --progress"
}
}