Skip to content

Comment on Show HN: Prela – Purely Algebraic Relation Combinators

Comments

Julian Hyde (Apache Calcite author) has a side project called Morel

Morel is an ML dialect that can compile set-producing expressions into bytecode that Calcite can execute against databases

Sort of like "If you could query anything with SQL but it's ML instead"

I bring this up because the example query looks very similar to Morel queries

Neat xample of solving a combinatorial optimization problem with a single query that he posted recently to Twitter:

https://x.com/i/status/2062066151841321370

http://blog.hydromatic.net/2026/06/02/package-queries.html

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.