Example which doesn't work in v4.x #464
Labels
4h
Approximately 4 hours of work
A-tests
Area: Test coverage
C-enhancement
Category: A PR with an enhancement or a proposed one in an issue.
P2-medium
Priority: Medium
Milestone
UPD[@aslesarenko]:
Make sure the following example works with JITC.
For example,
path.fold(item, {(a: (Coll[Byte], Coll[Byte])) =>
a._1.zip(a._2).map({ (c: (Byte, Byte)) => (c._1 ^ c._2).toByte })
})
does not compile, and I'm not sure whether it is okay or not. Please describe fold limitations in the spec.
The text was updated successfully, but these errors were encountered: