Re: [racket-users] "Unbound Identifier" (Lists)

2021-02-25 Thread IF Karona
world really need to hear that?")] > ; if your input is DEBUG then it will print out the history but not add to > it > ["DEBUG" (pretty-print history) '()] > ; if you type something unrecognized it will say so > [else (say input "I didn't u

Re: [racket-users] "Unbound Identifier" (Lists)

2021-02-24 Thread IF Karona
~a\n" response) (loop)) On Wed, Feb 24, 2021 at 3:11 PM George Neuner wrote: > > Hi, > > Presumably you are using 'head' to get the first element of a list. > However, there is no function 'head' for lists. > see: https://docs.racket-lang.org/reference

[racket-users] "Unbound Identifier" (Lists)

2021-02-24 Thread IF Karona
Hi everyone, After trying to implement some changes Sage suggested (all errors are my own), I am now encountering the following message (courtesy of DrRacket): "head: unbound identifier in: head" Could someone help me find a fix? As before, I welcome suggestions on how to better do this the fu

[racket-users] Questions Regarding My First Program

2021-02-23 Thread IF Karona
Hi everyone, I am new here, and I have a couple of questions related to the code that follows this message. 1. I want to learn functional programming. When it comes to solving the problem of making a simple chatbot such as this, is there an approach that is more consistent with functional prog