Python


def square(x):
    return x * x

Elm


square x =
    x * x

Elm

square : Int -> Int
square x =
    x * x

deck

By Daniel Bachler