The Sifflet visual functional programming language and aid to understanding recursive functions (http://mypage.iu.edu/~gdweber/software/sifflet/home.html)

#21Crash from non-boolean condition in an 'if' expression

21 Define adds list = if null list then 0 else if head list then + list 1 else tail (head list) Call the function with list = [1] Sifflet crashes with this error message: evalTreeWithLimit (if): unexpected test result

O: 2010 dec 9 R: Charles Turner III P: high C: 2010 dec 9