golemcloud / golem

Golem is an open source durable computing platform that makes it easy to build and deploy highly reliable distributed systems.
https://learn.golem.cloud/
Apache License 2.0
530 stars 59 forks source link

Implement list comprehension and list aggregation #1042

Closed afsalthaj closed 3 weeks ago

afsalthaj commented 3 weeks ago

Fixes #910 and #909

let average = 
  reduce z, a in ages from 0 {
    yield z + a;
  };
let ages = 
  for p in people {
    yield p.age;
  };

A ticket for this week based on my own review: https://github.com/golemcloud/golem/issues/1035

afsalthaj commented 3 weeks ago

Fixing a few compilation errors, which I didn't foresee in other modules