> On Nov 15, 2016, at 19:52, meino.cra...@gmx.de wrote:
>
> Hi,
>
> I have a list of sublists. Some of the sublists are empty.
> The list should be processed recursevly and the resulting
> list should no longer contain empty sublists.
Is this homework?
if so: can you show your test cases?
Hi,
I have a list of sublists. Some of the sublists are empty.
The list should be processed recursevly and the resulting
list should no longer contain empty sublists.
The code I have so far looks like:
(define (step-through-list lst)
(if (empty? lst)
lst
(cons (process-sublist (car
On Mon, Nov 14, 2016 at 6:50 PM, Jay McCarthy
wrote:
> I could be wrong, but I don't think that there's an obvious
> anti-aliasing algorithm that fits mode-lambda's use cases. I would
> recommend rendering at a high buffer size and then down sampling. I
> attached a
On that subject, I just now tried to install racket-mode, but it isn't
listed at all. I see it on the website, but not in the M-x
package-list-packages list.
I have this in my .emacs:
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/;)
("marmalade" . "
> I did not, but that's a very nice feature. Unfortunately, I'm an Emacs
> guy. :/
Well as is often the case Emacs provides only about 42 ways you could
do this. :) A few:
In racket-mode C-M-y inserts λ.
There's also racket-unicode-method-enable:
On Tuesday, November 15, 2016 at 12:58:23 PM UTC-5, Brian Adkins wrote:
> On Tuesday, November 15, 2016 at 12:50:49 PM UTC-5, Brian Adkins wrote:
> > On Tuesday, November 15, 2016 at 11:53:37 AM UTC-5, johnbclements wrote:
> > > > On Nov 15, 2016, at 8:30 AM, Brian Adkins
On Tuesday, November 15, 2016 at 12:50:49 PM UTC-5, Brian Adkins wrote:
> On Tuesday, November 15, 2016 at 11:53:37 AM UTC-5, johnbclements wrote:
> > > On Nov 15, 2016, at 8:30 AM, Brian Adkins wrote:
> > >
> > > I'm working on a simple chess engine in Racket as a
On Tuesday, November 15, 2016 at 11:53:37 AM UTC-5, johnbclements wrote:
> > On Nov 15, 2016, at 8:30 AM, Brian Adkins wrote:
> >
> > I'm working on a simple chess engine in Racket as a learning exercise. I
> > initially wrote this function:
> >
> > (define
On Tue, Nov 15, 2016 at 11:57 AM, David Storrs
wrote:
> I did not, but that's a very nice feature. Unfortunately, I'm an Emacs
> guy. :/
Then you have no excuse for not making a λ macro.
--
You received this message because you are subscribed to the Google Groups
On Tuesday, November 15, 2016 at 11:30:54 AM UTC-5, Brian Adkins wrote:
> I'm working on a simple chess engine in Racket as a learning exercise. I
> initially wrote this function:
>
> (define (valid-queen-moves board idx is-opposite-color?)
> (append (valid-bishop-moves board idx
On Sun, Nov 13, 2016 at 9:14 AM, 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:
>
> > On Nov 13, 2016, at 06:42, David Storrs wrote:
> >
> > Thanks, all. Points well taken and I'll go back to writing lambda (x).
> I appreciate the pointer to
> On Nov 15, 2016, at 8:30 AM, Brian Adkins wrote:
>
> I'm working on a simple chess engine in Racket as a learning exercise. I
> initially wrote this function:
>
> (define (valid-queen-moves board idx is-opposite-color?)
> (append (valid-bishop-moves board idx
On Tuesday, November 15, 2016 at 11:30:54 AM UTC-5, Brian Adkins wrote:
> I'm working on a simple chess engine in Racket as a learning exercise. I
> initially wrote this function:
>
> (define (valid-queen-moves board idx is-opposite-color?)
> (append (valid-bishop-moves board idx
I'm working on a simple chess engine in Racket as a learning exercise. I
initially wrote this function:
(define (valid-queen-moves board idx is-opposite-color?)
(append (valid-bishop-moves board idx is-opposite-color?)
(valid-rook-moves board idx is-opposite-color?)))
I didn't like
14 matches
Mail list logo