forked from glen/fostr
refactor: eliminate rule in desugar
By using list wrap properly.
This commit is contained in:
parent
02cf762ac7
commit
c516ed6d7f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user