Search found 7 matches

by peterlane
Fri Jul 14, 2017 12:22 pm
Forum: The Lounge
Topic: Hello! (Just seemed like the right place to say it.)
Replies: 1
Views: 4619

Re: Hello! (Just seemed like the right place to say it.)

Hello! Thanks for being a welcoming group! I look forward to being an active participant! Welcome! lately I've been working through LeetCode problems and similar, as a way to sharpen my mind a bit outside of my work life (which is mostly not that interesting from a code standpoint); is the "Homewor...
by peterlane
Mon Apr 10, 2017 6:55 am
Forum: Scheme
Topic: [ANN] Some R7RS Scheme Libraries
Replies: 0
Views: 4767

[ANN] Some R7RS Scheme Libraries

Hi list, Recently I have been writing and repackaging a variety of Scheme libraries to work on R7RS implementations. The collection is a work in progress, but is currently tested on Chibi, Kawa and Larceny: with some exceptions, the included examples and tests work on all three implementations. For ...
by peterlane
Mon Apr 10, 2017 6:18 am
Forum: Emacs Lisp
Topic: executing a random command
Replies: 1
Views: 10839

Re: executing a random command

I don't know Emacs lisp so this may be off base, but: (setq nameOfRandomColorTheme (nth randomNumber '( "color-theme-xemacs" "color-theme-xp"))) is setting nameOfRandomColorTheme to a string value, and then: (nameOfRandomColorTheme) is using that string as if it were a function. In your example you ...
by peterlane
Fri Feb 10, 2017 5:03 pm
Forum: Scheme
Topic: Gimp's scheme code to extract text from layers
Replies: 1
Views: 4014

Re: Gimp's scheme code to extract text from layers

I don't know Gimp, but your bracketing is off. (let* ((ff (cadr (file-glob "*.xcf" 1)))) (filename "") (image 1) (layer 0)) For example, write the start like this: (let* ((ff (cadr (file-glob "*.xcf" 1)))) <-- you have one too many close brackets here, they should only close up to the one before 'ff...
by peterlane
Wed Feb 08, 2017 2:08 am
Forum: Homework
Topic: Loop 2D-Array
Replies: 1
Views: 3572

Re: Loop 2D-Array

You are close. How does 'loop' return a value?

Consider:
> (loop for x from 1 to 3 do x)
NIL
> (loop for x from 1 to 3 collect x)
(list 1 2 3)

Then look again at your two loops ... if you change one word you will get some results back, which will still need some tidying up.
by peterlane
Thu Jan 19, 2017 3:57 am
Forum: User Groups and Conferences
Topic: Scheme and FP Workshop 2017 - Oxford, UK
Replies: 1
Views: 16209

Scheme and FP Workshop 2017 - Oxford, UK

(I'm not involved with this, but hoping to attend, as it's relatively close.) http://scheme2017.namin.org/ Important Dates (Tentative) Submission deadline May 26th, 2017 (UTC-12) Author notification June 27th, 2017 Camera-ready deadline July 28th, 2017 (UTC-12) Workshop September 3rd, 2017 Topics Su...
by peterlane
Wed Jan 18, 2017 6:31 am
Forum: The Lounge
Topic: Just joined
Replies: 0
Views: 3502

Just joined

I just found this list, and joined as I've recently started again with Scheme. I've been using Lisp and Scheme for quite some time, in teaching and for my own projects. I've always enjoyed the simplicity of Scheme. Lisp feels "gritty" to me, but also very practical. For various reasons, I've had a f...