MacGambit (v2.2.ucb2) : (load "functions.scm") "functions.scm" : (functions) Welcome to the FUNCTIONS program. Function: + Argument: 1 Argument: 4 The result is: 5 Function: sqrt Argument: 4 The result is: 2 Function: remainder Argument: 10 Argument: 3 The result is: 1 Function: abs Argument: -3 The result is: 3 Function: truncate Argument: 10.3 The result is: 10. Function: word Argument: cal Argument: isgreat The result is: calisgreat Function: word Argument: 3.141 Argument: 59265 The result is: 3.14159265 Function: word Argument: sadf8sa67df76786789as Argument: as6d87f6sa897df The result is: sadf8sa67df76786789asas6d87f6sa897df Function: first Argument: dan The result is: d Function: butfirst Argument: dan The result is: an Function: bf Argument: dan The result is: an Function: last Argument: dan The result is: n Function: butlast Argument: dan The result is: da Function: bl Argument: dan The result is: da Function: first Argument: a The result is: a Function: butfirst Argument: a The result is: Function: butlast Argument: a The result is: Function: word Argument: cal-is Argument: -great The result is: cal-is-great Function: word Argument: cal is Argument: great The result is: isgreat Function: + Argument: 1 Argument: two Argument(s) not in domain. Function: sentence Argument: (cal is) Argument: (great dontchaknow) The result is: (cal is great dontchaknow) Function: first Argument: (cal is great) The result is: cal Function: even Sorry, that's not a function. Function: even? Argument: 5 The result is: #F Function: odd? Argument: 5 The result is: #t Function: < Argument: 4 Argument: 5 The result is: #t Function: >= Argument: 3 Argument: 3 The result is: #t Function: member? Argument: 3 Argument: 12456738 The result is: #t Function: member? Argument: cal Argument: calisgreat Argument(s) not in domain. Function: member? Argument: c Argument: calisgreat The result is: #t Function: member? Argument: is Argument: (cal is great) The result is: #t Function: vowel? Argument: abc The result is: #F Function: vowel? Argument: a The result is: #t Function: vowel? Argument: b The result is: #F Function: number-of-arguments Argument: + The result is: 2 Function: number-of-arguments Argument: vowel? The result is: 1 Function: every Argument: first Argument: (electrical engineering computer science) The result is: (e e c s) Function: keep Argument: vowel? Argument: facetious The result is: aeiou Function: quit Sorry, that's not a function. Function: exit "Thanks for using FUNCTIONS!" : (+ 2 3) 5 : (keep vowel? 'facetious) *** ERROR -- Unbound variable: vowel? 1: : (abs -4) 4 :