12 Topics

Member Avatar for
Member Avatar for Roger_2

**below is the problem i am given, after this i explain where i am at so far and the code i have created, **Write the following functions in Scheme: 1.a "digitinc4" -takes as input a 4-digit integer, and returns another 4-digit integer constructed of the original input integer's digits, each …

Member Avatar for Taywin
0
453
Member Avatar for Schol-R-LEA

I am currently making out the plans for the milestones for the rest of this year in my long-term projects (Thelema, Assiah, and Alfheim). I was hoping that someone would be able to review these plans and help me determine which are feasible in the next four months. The overall …

Member Avatar for Hiroshe
0
193
Member Avatar for Schol-R-LEA

**note:** This was also posted to the [comp.lang.scheme](https://groups.google.com/forum/#!forum/comp.lang.scheme) earlier today. I normally wouldn't cross-post, but after I noticed the extremely low traffic on the newsgroup, I decided to try a more active, if less specialized, forum. As part of a larger project, I am writing a macro that defines a …

Member Avatar for Schol-R-LEA
0
311
Member Avatar for DarkLightning7

I have built this function which calls a couple other functions to get the oprator and numbers for an arithmetic operation but I get the error `function call: expected a function after the open parenthesis, but received '+`. normaly you invoke addition as (+ 5 6) and multiplication as (\* …

Member Avatar for DarkLightning7
0
235
Member Avatar for Scythe1213

Hello, I need help finishing up an unzip function which takes a zipped list and returns a list of two lists. The result I want is as follows. . . (unzip '((a b)(1 2))) ((a 1)(b 2)) (unzip '((a 1)(b 2)(c 3))) ((a b c)(1 2 3)) (unzip '(unzip '())) …

Member Avatar for sepp2k
0
465
Member Avatar for garyjohnson

Hello, I have been trying everyhting and I still have not gotten any good results for my cholor sheme. I need the scheme to go well with yellow, green, and red. I know random colors that dont really go well together. But Ive tried black but it makes my site …

Member Avatar for pritaeas
0
121
Member Avatar for AndresOend

Hey all; I've been reading SICP and been wanting to write code from the book and the solutions to exercises and execute that code. I find MIT-GNU Scheme, the recommended interpreter, to be very confusing and very slow or impossible to use. I can't even get some of the basic …

Member Avatar for ahmadajmi
0
341
Member Avatar for mwsh

if bit? is a procedure that takes an item and returns #t if the items is 1 or 0 and #f otherwise (define bit? (lambda (item) (if (equal? item 0) #t (if (equal? item 1) #t #f)))) how can i use bits? to define roll-out that takes a list of …

Member Avatar for Schol-R-LEA
0
145
Member Avatar for garyjohnson

I have been trying to make my websites looks and when ever i make a top banner that spreads across the page, it looks ugly and childish. Can someone tell me how to make a nice banner like daniweb which is appealing.

Member Avatar for JorgeM
0
158
Member Avatar for doomsday1216

I don't know if this is the right place for a post about Scheme, but i was wondering if anyone knew if there are loops and if statements in Scheme? (I am very new to Scheme, i know there are 'cond' statements, but i don't know if there are if's, …

Member Avatar for sepp2k
0
360
Member Avatar for rahul pareek
Member Avatar for sarya_w

Could someone help me to convert this Scheme Code to Objective-C? (define-type RCFAE [num (n number?)] [add (lhs RCFAE?) (rhs RCFAE?)] [id (name symbol?)] [fun (param symbol?) (body RCFAE?)] [app (fun-expr RCFAE?) (arg-expr RCFAE?)] [with (id symbol?) (named-expr RCFAE?) (body RCFAE?)] [if0 (cond RCFAE?) (then RCFAE?) (else RCFAE?)] [rec (id …

Member Avatar for sarya_w
0
358

The End.