mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 16:21:46 +03:00
66930113bd
This also involves adding a flag to constructors and case alternatives in CExp which say whether it's a NIL or CONS. Currently, we only do this for Prelude.List, which already has an effect, but soon I'll extend this to work for all list-shaped things and rather than being hard coded. We could also imagine spotting other shapes (enumerations especially) for code generators to spot as they see fit. This will require code generators to be fixed to recognise the new ConInfo flag, but you can just ignore it. Bootstrap code also updated, because we don't currently have a way of having separate support.ss/rkt for the bootstrap and normal builds! |
||
---|---|---|
.. | ||
CatCases.idr | ||
expected | ||
Main.idr | ||
run |