fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(11 Jun 2021 18:15 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(11 Jun 2021 20:15 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(11 Jun 2021 22:27 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(12 Jun 2021 16:44 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(12 Jun 2021 19:58 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(12 Jun 2021 19:15 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(12 Jun 2021 20:07 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(12 Jun 2021 22:18 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(12 Jun 2021 22:20 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(13 Jun 2021 08:36 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(13 Jun 2021 19:19 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(13 Jun 2021 19:39 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(14 Jun 2021 00:18 UTC)
|
||
(missing)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(14 Jun 2021 14:53 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(14 Jun 2021 14:59 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 15:15 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 15:42 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(14 Jun 2021 15:44 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 15:41 UTC)
|
||
Re: fxmapping-unfold(-maybe) Wolfgang Corcoran-Mathe (14 Jun 2021 16:10 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 16:28 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 17:12 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(14 Jun 2021 18:27 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 18:43 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(14 Jun 2021 05:50 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(14 Jun 2021 07:40 UTC)
|
||
Re: fxmapping-unfold(-maybe)
John Cowan
(12 Jun 2021 23:54 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(13 Jun 2021 14:13 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(15 Jun 2021 04:18 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(15 Jun 2021 06:16 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(15 Jun 2021 09:44 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(15 Jun 2021 10:37 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(15 Jun 2021 14:20 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(15 Jun 2021 14:33 UTC)
|
||
Re: fxmapping-unfold(-maybe)
John Cowan
(15 Jun 2021 23:08 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(16 Jun 2021 06:48 UTC)
|
||
Re: fxmapping-unfold(-maybe)
John Cowan
(18 Jun 2021 03:01 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(18 Jun 2021 06:26 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Ray Dillinger
(20 Jun 2021 04:08 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(20 Jun 2021 04:28 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(20 Jun 2021 08:00 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(20 Jun 2021 16:17 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(20 Jun 2021 16:19 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Arthur A. Gleckler
(20 Jun 2021 16:25 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(17 Jun 2021 17:32 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(17 Jun 2021 18:00 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(17 Jun 2021 21:25 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(18 Jun 2021 06:09 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(19 Jun 2021 22:05 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(20 Jun 2021 07:00 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(20 Jun 2021 07:36 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(20 Jun 2021 08:31 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(20 Jun 2021 09:10 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(20 Jun 2021 10:44 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Shiro Kawai
(20 Jun 2021 21:39 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Marc Nieper-Wißkirchen
(21 Jun 2021 06:09 UTC)
|
||
Re: fxmapping-unfold(-maybe)
Wolfgang Corcoran-Mathe
(17 Jun 2021 18:01 UTC)
|
||
Re: fxmapping-unfold(-maybe)
John Cowan
(12 Jun 2021 04:06 UTC)
|
On 2021-06-14 17:41 +0200, Marc Nieper-Wißkirchen wrote: > Am Mo., 14. Juni 2021 um 16:53 Uhr schrieb Wolfgang Corcoran-Mathe < > xxxxxx@sigwinch.xyz>: > > > As a side note on naming, I think `fxmapping-accumulate' is a > > good name; the only concern I have about it is that the very well-known > > SICP used it to describe a fold procedure. > > > > fxmapping-consume As a name for the unfold? This sounds like a fold, to me. > > This must be valid if we state that invoking `delete' returns the > > updated fxmapping. However, I believe that this constrains > > fxmapping-update to calling the updater procedure in tail-context, > > which may be inconvenient for some implementations (i.e. those > > using structures which are naturally constructed via recursion). > > > > We have discussed a similar thing some time ago, haven't we? > > Example: > > (define alist-update > (lambda (ls key updater) > (call-with-prompt (default-prompt-tag) > (lambda () > (let f ([ls ls]) > (cond > [(null? ls) '()] > [(eqv? (caar ls) key) > (abort-to-prompt default-prompt-tag ls)] > [else (cons (car ls) (f (cdr ls)))]))) > (lambda (k) > (updater (caar ls) (cdar ls) > (lambda (val) > (k (cons (cons key val) (cdr ls)))) > (lambda () > (k (cdr ls)))))))) Yes, sorry, we are back to this, again. That is a very nice example, though notably more complicated than the basic recursive version. It's also unfortunate that we don't have portable access to delimited continuation operators. -- Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz> "In a bureaucracy, the file cards are reality. Punching new holes recreates the world." --Alan Moore, _V For Vendetta_