1 ///////////////////////////////////////////////////////////////////////////////
5 ///////////////////////////////////////////////////////////////////////////////
8 const .[int,int] a = .(1,2);
9 const .[char,Quark,double] b = .('k',#"Church Rosser",3.0);
11 datatype List<a> = #[] | #[ a ... List<a> ];
13 ostream& operator << (ostream& f, List<.[int,int]> l)
17 { f << '(' << x << ',' << y << ')';
28 List<.[int,int]> fib = #[ .(1,1), .(2,2), .(3,3), .(4,5), .(5,8),
29 .(6,13), .(7,21), .(8,34), .(9,55), .(10,89)
31 cout << "Fibonacci numbers = " << fib << '\n';