Skip to content

Instantly share code, notes, and snippets.

Last active December 11, 2022 04:38
What would you like to do?
private fun evalExpressions(arguments: List<Expression?>?, env: Environment): List<MObject?> =
arguments!!.map { argument ->
val evaluated = eval(argument, env)
if (evaluated.isError()) {
return listOf(evaluated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment