Coming back to ceylon after a year for a first real project, I've decided to write a TOML parser using parcey.
I'm trying to define the TOML model top-down using aliases, but I've hit my first bump trying to define the recursive structure of TOML values :
alias TOMLKey => String;
alias TOMLValue => String | Integer | Float | Boolean | Date | Time | DateTime | TOMLArray | TOMLMap;
alias TOMLMap => Map<TOMLKey, TOMLValue>;
alias TOMLArray => List<TOMLValue>;
I think I understand why, but I dont know know how to specify it another way.