0
votes

Just trying to make a simple program to start to learn Scheme, and I keep on getting this error message. Here is my code:

    #lang racket

    (define (1+) (+ 1 x))

and I get the error "unbound identifier in module"

1

1 Answers

1
votes

Figured it out... I needed the variable in the name of it

    (define (1+ x) (+ 1 x))