factor should check that second argument is irreducible
factor should check that second argument is irreducible
Today, we have sort(list) and sort(list,predicate fun). What if we allow sort(list,key) where key can be a number or a list of numbers which specify the keys? Fully compatible, although it does violate the principle that static analysis should tell you the meaning. For example, sort(...,f) could mean sort by a function or sort by a key specification, depending on the value of f. We could compatibly also add sort(list,predicate fun,keyfun), maybe using false to specify the default predicate.
sign("foo") => Lisp error
sign("foo") => Lisp error
sign of nonscalar inconsistent
floor/ceiling/round of large bfloats gives errors
floor/ceiling/round of large bfloats gives errors