Fork me on GitHub
#meander
<
2021-12-17
>
jgdavey01:12:33

I’ve got an interesting problem. The shape of data that I’m working with is a map of triples (representing an entity-value-temp-id) to a value. For updates, the data temp-id needs to resolves to the original temp-id of existing data. While I could just munge the data to make it easier to work with, it felt like a cool challenge for meander. What I’ve got currenty looks like this: https://gist.github.com/jgdavey/685ba1fa3c530b09312f95a065050792. But it feels like I’m missing something. 3 rewrites, but it feels like it should be 2, or perhaps even just 1.

noprompt22:12:56

I just glanced at this and I think it seems ok as is. Later today, I'll start up a REPL and play around with it and see what I can sketch up. 👍