Closed JoshRosen closed 11 years ago
Actually, never mind about the mytable.schema.map{|c| k.send(c)}
example; I saw this fragment in some old Bud code, but this pattern won't work with recent versions. Absent this, I don't have another use case for reading the schema in the RHS of a rule, so you can probably close this issue.
Consider this program:
This pattern might occur when we want to add additional headers to a message then strip them off later. Even though
mytable
appears in both the LHS and body of a<=
rule, this program should be stratifiable: the collection's schema is a constant, so referencing it in a rule body shouldn't introduce a dependency on that collection.Running this program results in an "unstratifable program" error: