I am reading DrRacket document http://docs.racket-lang.org/guide/binding.html There is a function (define f
(define-struct binding ( let; a string num; a number ) ) (define Bind-A (make-binding empty 1)) (define Bind-B (make-binding \"A\" 2))
So here\'s my code: (define *graph* (read(open-input-file \"开发者_开发技巧starbucks4.sxml\")))
I\'m looking for a function in Scheme to replace a element in an equation by a value. Exemple : \'(+ a b c a)with (1 2 3) should gi开发者_JAVA百科ve me \'(+ 1 2 3 1). (I don\'t want to resolve the eq
How can you go from (5 . 2开发者_高级运维) to (5 2) ??Is this what you\'re looking for? (define (pair-to-list pp)
im trying to load a sxml file... i manage to do that in scheme. now i want to go through it using recursion and located items that i want. my code is like this,
This is my code: (define p (read(open-input-file \"starbucks4.sxml\"))) (define get-artifacts (lambda (l)
Is there a general way to take a list of items and flatten it to depth zero so that they can be spliced into a mac开发者_JAVA技巧ro expansion? For instance:
I\'m a bit of a scheme newbie and I\'m trying to do write a function that 开发者_如何学编程takes a function name, and and an expression and binds the function name as the first argument of the express
I have this struct for people: (define-struct person ( fir开发者_StackOverflow社区st; a string: first name