123456789101112131415161718192021222324252627 |
- (* catenation *)
- puts This That The-Other;
- (* choice *)
- puts This | That | The-Other;
- (* weighted choice *)
- puts 5: This | That;
- (* application *)
- puts foo.bar.baz;
- (* tuples *)
- puts <>;
- puts <1>;
- puts <1,2>;
- puts <1,2,3>;
- (* ranges *)
- puts 0..20;
- puts x..y;
- (* application *)
- puts f.x;
- (* lambdas *)
- puts { x => x };
- puts { True => "yes" ; False => "no" };
|