We add anonymous functions on “hello” value an call it with “.” after value name. We not define name of that functions so just call it using dot “.” and enter the arguments needed. For the simple anonymous functions which is need one line, you can write it here:

From example above, we can change “fn” & “end” keyword with “&(…)” keyword using shorthand. The other rule from shorthand is they will grab arguments by their index with “&” keyword, for example: &1, &2, etc.. Since they taking arguments from argument index you no need to define arguments on the functions, but make sure they have correct arguments.

This is sample functions without and using shorthand that have multi arguments: