Given the example of quick sort.
Fire up erl
and puch in the following
A = [3, 5, 2, 1, 6, 7]. % Assign a list to A
c(qsort). % Compile the qsort module
qsort:qsort(A). % Run the qsort function in the qsort module on the list
Fire up iex -r qsort.ex
a = [3, 5, 2, 1, 6, 7] # Assign a list to A
QSort.qsort(a) # Run the qsort function in the QSort module on the list