lists:partition used to partition a list depending on a fun
A lazy list made with a fun
A simple list comprehension
The element of a list comprehension can be any expression
A list comprehension can use a filter
extracting data with list comprehensions + pattern matching
Grouping list items using nested list comprehensions, filters and pattern matching
A simple case of list comprehension with multiple generators
A simple case of list comprehension with multiple generators and filters
The bif lists:map implemented with a list comprehension and a fun
The bif lists:filter implemented with a list comprehension and a fun
Convertinto from term to binary and back
binary_split() can be used to cut a binary in two parts
Bits can be converted to a list
Playing bit bits
ets:new by default builds a hashed set, with key in the first position
ets tables must be manually garbage collected
Inserting and looking-up records in a set
Inserting 2 values with the same key in a set overwrites the old values; a bag stores both