Skip to content

Instantly share code, notes, and snippets.

View dev3loperb's full-sized avatar

Igor P dev3loperb

  • Russia, Omsk
View GitHub Profile
@rafaeltuelho
rafaeltuelho / jvm-useful-arguments.md
Last active May 21, 2018 11:57
Useful JVM command line arguments (gc logging)
  • used to start a Standalone EAP instance:
/usr/lib/jvm/java/bin/java -D[Standalone] -server \
-verbose:gc \
-Xloggc:$EAP_HOME/standalone/log/gc_%p_%t.log \
-XX:+PrintGCDetails \
-XX:+PrintGCDateStamps \

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