News for hackers. Stuff that matters.
Re:Lambdas as values in Excel by pjmlp on Monday August 23, 2021 @07:46AM (#28274458)
And an F# like language, Power Query.
Re:Lambdas as values in Excel by bradrn on Monday August 23, 2021 @11:07AM (#28276920)
I haven’t heard of this before. Do you happen to have any more details?

EDIT: Found it: https://docs.microsoft.com/en-us/power-query/. But it doesn’t look particularly F#-like — Power Query seems more focused around, well, querying data.

Re:Lambdas as values in Excel by vhhn on Monday August 23, 2021 @02:56PM (#28280368)
I think parent comment was referring to the M-code [0]

[0](https://www.howtoexcel.org/power-query/m-code/)

Re:Lambdas as values in Excel by pjmlp on Monday August 23, 2021 @04:05PM (#28281225)
Yep that was it.
Re:Lambdas as values in Excel by bradrn on Monday August 23, 2021 @07:45PM (#28283488)
Ah, thanks!
Re:Lambdas as values in Excel by snthpy on Tuesday August 24, 2021 @01:51AM (#28285526)
I really like the M Language and Power Query (PQ) makes it really easy and convenient to build data mashups. You can even use it as a SQL query builder by viewing the Native Query code and then copying that.

The main issue I'm facing is how to distribute the library of PQ/M functions I've developed?

Currently I have a central library workbook and then have to copy code from there. Problem is that updates and bugfixes don't flow downstream.

I really hope Microsoft creates a solution for this. Would love to hear about some approaches for handling this in the meantime.

Re:Lambdas as values in Excel by cosmie on Tuesday August 24, 2021 @04:22PM (#28294471)
There are a few third party libraries/projects that are useful for that situation. Libpq[1] is one, and this[2] project is another. The readme for that second one includes links to several other M/PQ related projects.

[1] https://libpq.ml/

[2] https://github.com/KiaraGrouwstra/pquery