refactor: eliminate rule in desugar

By using list wrap properly.
This commit is contained in:
Glen Whitney 2021-02-10 13:07:51 -08:00
parent 02cf762ac7
commit c516ed6d7f

View File

@ -13,8 +13,7 @@ rules
*/
deISe: ISequence(Prior(l),x) -> Sequence(<conc>(l, [x]))
enList: x -> [x]
seqFlatten: Sequence(l) -> Sequence(<mapconcat(?Sequence(<id>) <+ enList)>l)
seqFlatten: Sequence(l) -> Sequence(<mapconcat(?Sequence(<id>) <+ ![<id>])>l)
strategies