chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Replace an element in a list


From: Bahman Movaqar
Subject: Re: [Chicken-users] Replace an element in a list
Date: Sun, 14 Dec 2014 11:04:23 +0330
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Thanks Daniel and John.

I found "split-at" while reading the docs last night. Along with
"let-values" it seems like a natural answer to my questions. What do you
folks think?

--
Bahman Movaqar

http://BahmanM.com - https://twitter.com/bahman__m
https://github.com/bahmanm - https://gist.github.com/bahmanm
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)

On 12/14/2014 03:29 AM, Bahman Movaqar wrote:
> What is the idiomatic way of replacing the nth element in a list
> *without* mutating the list? Is the combination of "take" and
> "take-right" the right way to do it?

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]