list and equality functions, dumb repl