Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by rproffitt UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance. Re: Scheme loops? Programming Software Development by sepp2k …versatile form of `if`. The ways to do loops in Scheme are: 1. Recursive functions¹ 2. The `do` form… immediately calling it. For more information see [the Scheme standard's section on iteration constructs](http://www.schemers.…-7.html#%_sec_4.2.4). ¹ The Scheme standard mandates that a Scheme implementation must optimize tail recursion, so tail-… Re: scheme newbie here!!! Programming Computer Science by Duoas … thing as [inlinecode](return [I]anything[/I])[/inlinecode] in Scheme. A lambda always looks the same way: [inlinecode]([B…also want to create another function to help. Everything in Scheme is a list (or more properly, an [I]…empty three times. Our function may look like this: [code=Scheme] (define get-list-len (lambda (my-ls current-count)… Re: Scheme using define-syntax Programming Software Development by rubberman Scheme is a dialect of Lisp, so you might want to … Scheme parser and unparser Programming Software Development by benasour …"do the right thing" when given any Scheme data as its argument. Error messages should be as CSSE…). Call the eopl:error procedure (same syntax as Chez Scheme's error, whose documentation can be found at [url]…http://www.scheme.com/csug/system.html#g2206[/url]) ; the first argument… Scheme loops? Programming Software Development by doomsday1216 … 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… [Scheme, (define-syntax)] problem with a macro expanding to unquoted values Programming Software Development by Schol-R-LEA … also posted to the [comp.lang.scheme](https://groups.google.com/forum/#!forum/comp.lang.scheme) earlier today. I normally wouldn't…, which I've based partly on macro designs from *The Scheme Programming Language, 3rd ed.* and other sources, is built of… scheme newbie here!!! Programming Computer Science by ryu12341 … for me posting on this forum!!! I'm currently learning scheme and for some reason I can't seem to get… been trying to define the union of 2 lists in scheme and its not working. I'm not sure how to… Scheme Natural Numbers Problems Programming Software Development by bigred12 I'm a student learning Scheme and we have been learning natural numbers in class. We … two problems that deal with natural numbers and lists in scheme. I don't understand how to do them and I… Re: scheme newbie here!!! Programming Computer Science by jumar01 … bump.. My first year cs course at university was in scheme, hes the free text we used. [url]http://www.htdp… short program containing a output of HELLO WORD using in scheme...thx [email]pogijumar@yahoo.com[/email] and also a screenshots… Re: scheme newbie here!!! Programming Computer Science by Duoas Please stop bumping ancient threads. No one is going to do your homework for you. You'll have to learn it yourself. [URL="http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html"]Here is a good place to start[/URL]. The very first example is hello world. Scheme...need some help aka racket Programming Software Development by bluejamesbond … a java programmer, but I am recently trying to learn scheme for a project. In terms of java swing, can someone… explain to be how everything gui is connected in scheme/racket. Things which i am looking for in explainations: Panels… Re: [Scheme, (define-syntax)] problem with a macro expanding to unquoted values Programming Software Development by Schol-R-LEA With the help of godek at comp.lanf.scheme (which wasn't so dead as it seemed), I was … Re: scheme newbie here!!! Programming Computer Science by InfiNate Really old thread to bump.. My first year cs course at university was in scheme, hes the free text we used. [url]http://www.htdp.org/[/url] Re: scheme newbie here!!! Programming Computer Science by jumar01 is someone reading my post... pls help me in using scheme... containing an simple output of HELLO WORLD,.. just pass to my email to <snipped> and also a screenshots... thx godbless Re: Scheme empty list help Programming Software Development by Duoas … be extra careful to keep data and code separate in scheme. You are mixing the two. For example, the following is… (it has been a few years since I've used scheme much), but you might fix it by simply changing your… Re: scheme divide witohut using / Programming Software Development by tuffff From my first days with scheme… it’s not pretty but it works. Please ignore the … just a function name and “d” just a variable. [CODE=scheme]; divides two numbers until cutoff is reached (define (divide n… Re: Scheme using define-syntax Programming Software Development by sepp2k … the links that rubberman posted. The `define-syntax` facility of Scheme has absolutely nothing in common with the macro system of… `define-syntax` go, [this one](http://www.willdonnelly.net/blog/scheme-syntax-rules/) looks pretty decent. And it even uses an… Scheme Newbie Programming Software Development by ryy705 Hi, I am a scheme newbie so any help or suggestion is appreciated. The follwoing … Scheme to Python Programming Computer Science by nam5a How would you write a begin procedure in python that would be analogous to the scheme expression. Re: Scheme to Python Programming Computer Science by Rashakil Fol BEGIN is not a procedure in Scheme; why would it be a procedure in Python? You already have a feature in the language for sequencing expressions with side effects. Scheme empty list help Programming Software Development by cknapp … Conway's Game of Life as a way to learn Scheme, and I'm having trouble with the updater. I keep… Re: Scheme empty list help Programming Software Development by Duoas The same problem? I see nothing wrong with your code... (I can't test it myself ATM, as I'm just recovering from a system wipe and have yet to reinstall scheme.) Do you think it might be barfing because [B]upgraph[/B] evaluates to [B]'()[/B] ? Scheme Card Game Programming Software Development by SchemeStarter … 'm trying to write a cards game in nothing but scheme. i found the very useful games/cards package, which allows… Scheme procedure to capitalize a string Programming Software Development by vileoxidation … you for helping me today! I am working on a scheme procedure that takes a string as its input, capitalizes every… scheme divide witohut using / Programming Software Development by feedmeh8 … out how to divide a number by another number in scheme without using /. I have written these functions that i can… Scheme - Creating Sublists... Programming Software Development by danethepain83 Hi! I'm just working on a small problem in Scheme. I am passing to the function a list, such as '(… Scheme using define-syntax Programming Software Development by rarment I'm learning scheme and having a hard time with the define-syntax part. … Re: Scheme Help Programming Software Development by Duoas …of side-effect only, whereas functions explicitly return value. In Scheme, a [I]combination[/I] (a lambda), is a function…. But in the minds of programmers everywhere, unfamiliar with Scheme, the difference is in "how do I then…;. The answer is, [I]there are no procedures in scheme[/I] (or any other functional language). Only functions (or… Re: Scheme Help Programming Software Development by Rashakil Fol …=Duoas;469815]There are no [I]procedures[/I] in scheme, only [I]functions.[/I][/QUOTE] There are no [I…]functions[/I] in Scheme, only [I]procedures[/I]. That is, the word … there is a procedure named [inlinecode]procedure?[/inlinecode] in Scheme, and no procedure named [inlinecode]function?[/inlinecode]. However, …