patterns.matzo 214 B

1234567891011121314
  1. (* simple variables *)
  2. f := {x => x};
  3. f := {_ => x};
  4. (* literals *)
  5. f := {"foo" => "!"};
  6. f := {Bar => "?"};
  7. f := {55 => "~"};
  8. (* tuples *)
  9. f := {<> => x};
  10. f := {<x> => x};
  11. f := {<x,y> => x};
  12. f := {<x,y,z> => x};