Functions
Function definition, type signature (::), and calling (without parentheses, using spaces).
Simple enough for a 5-year-old to understand
Define a function
The function is written in the format "name parameter = expression". A type signature is placed above it.
square :: Int -> Intsquare x = x * xmain = print (square 5)