es: a shell with higher-order functions