4 fail_compilation/ice13356.d(32): Error: template instance Algebraic!(Tuple!(List)) recursive template expansion
5 fail_compilation/ice13356.d(15): Error: template instance ice13356.isPrintable!(List) error instantiating
6 fail_compilation/ice13356.d(33): instantiated from here: Tuple!(List)
10 struct Tuple(Types...)
15 static if (isPrintable!(Types[0]))
20 // T == Tuple!List, and accessing its .init will cause unresolved forward reference
21 enum bool isPrintable(T) = is(typeof({ T t; }));
23 struct Algebraic(AllowedTypesX...)
25 alias AllowedTypes = AllowedTypesX;
27 double x; // dummy for the syntax Payload(d)
32 alias Payload = Algebraic!(
38 this(double d) { payload = Payload(d); }