Atom - - List Maximum


Tags: array , number , optimization

Arity: monadic

This atom is monadic, which means it takes one argument.


Given a list, return its maximum value. Return the argument itself if it is a single value.


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):