refactor: eliminate rule in desugar
continuous-integration/drone/push Build is passing Details

By using list wrap properly.
This commit is contained in:
Glen Whitney 2021-02-10 13:07:51 -08:00
parent 02cf762ac7
commit c516ed6d7f
1 changed files with 1 additions and 2 deletions

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