From leavens@larch.cs.iastate.edu Tue Aug 22 21:02:39 2006 Date: Tue, 22 Aug 2006 21:02:39 -0500 (CDT) From: Gary T. Leavens To: outrey@cs.iastate.edu Subject: Re: [CS342] Quick question about special-purpose language Hi Stephan, On Tue, 22 Aug 2006 outrey@cs.iastate.edu wrote: > Could SQL be considered a special-purpose language? I would think so but I would > like to make sure. It would be if it were a programming language. But I'm not sure it's capable of expressing all computable functions. But it is certainly close to being a programming language, and if it is then it is definitely a special purpose one. Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ---------------------------------- From leavens@larch.cs.iastate.edu Sun Aug 27 20:22:59 2006 Date: Sun, 27 Aug 2006 20:22:59 -0500 (CDT) From: Gary T. Leavens To: Adam M Weber Cc: Steve Shaner Subject: Re: HW0, what is a combination Hi Adam, On Sun, 27 Aug 2006, Adam M Weber wrote: > Can you please clarify what you mean in question 11 a by combinations > (ie applications of Scheme procedures)? A combination or application in Scheme looks like (+ 3 4) or (max 7 (+ 3 10)) or (null? (cons 1 (cons 2 '()))) where the last 2 examples contain nested combinations. These are also called procedure calls: http://www.cs.iastate.edu/~leavens/ComS342/SCM-html/r5rs_6.html#SEC28 Does that help? Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------