Regarding error behaviour, I think that it's reasonable for the jlib functions to throw exceptions on invalid input. The ecl rtl functions can catch those exceptions and return blank result.