On Fri, Nov 16, 2018 at 10:07 PM Waldek Hebisch <hebi...@math.uni.wroc.pl> wrote: > > That is the point: normal case is that we check before using > 'children' and error in 'childern' is to catch bugs > (missing check). That is why I ask if you have use > case when we want call without check and empty return is > OK.
That makes sense, I'll make changes to code and documentation accordingly. One reason I didn't mention is that, "rest" doesn't give error when argument is empty list, I was influenced by that. What's your opinion on this function? (BTW, in Scheme "(cdr '())" gives error while in Common Lisp it gives NIL.) > Note that "it's hard to handle error in SPAD" only counts > when 'childern' wants to signal error, but operation > is in fact correct. > > -- > Waldek Hebisch > > -- > You received this message because you are subscribed to the Google Groups > "FriCAS - computer algebra system" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to fricas-devel+unsubscr...@googlegroups.com. > To post to this group, send email to fricas-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/fricas-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.