[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scheme help for lyric align on vowel
From: |
David Kastrup |
Subject: |
Re: Scheme help for lyric align on vowel |
Date: |
Tue, 27 Jan 2009 14:59:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
"Carl D. Sorensen" <address@hidden> writes:
> There's been a discussion on -user about getting lyrics aligned on vowels.
> Kieren came up with a clever, but somewhat cumbersome, manual means of
> accomplishing it. I'm trying to convert that to an automatic, virtually
> transparent means.
>
> I've got it all worked out, I think, except for one challenge that may be a
> show stopper.
>
> I need to define a function (double x) that can work as follows. I want
>
> (map double '(1 2 3))
>
> to return
>
> (1 1 2 2 3 3)
>
>
> Can anybody help me figure out how to do this? As far as I can see, it's
> not possible.
Definitely impossible. map returns a list with the same number of
elements as its input. Why do you need to use map in this manner?
--
David Kastrup