folding xml - reprise

閲覧: 14 回
最初の未読メッセージにスキップ

Catonano

未読、
2020/03/24 6:13:362020/03/24
To: racket
Hi,

I'm trying to do something like a fold, but over a tree instead of a list. Is there anything like that?

If it's unclear what I mean, there's a mechanism like that in guile:
https://www.gnu.org/software/guile/manual/html_node/SXML-Tree-Fold.html

They use it e.g. for XML transformations, but it's really a generic operation and quite useful.

Here's a paper on it by Andy Wingo if anyone wants to know the theory behind:

https://pdfs.semanticscholar.org/d41a/175cf5bf19c795b940edf566988df05ee4a1.pdf

is there anything along those lines in Racket ?

Thanks in advance

全員に返信
投稿者に返信
転送
新着メール 0 件