Changeset d011038 in mainline for uspace/dist/src/sysel/demos/deleg.sy
- Timestamp:
- 2011-03-29T20:12:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f17503
- Parents:
- c4fb95d3 (diff), 93ebe4e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/sysel/demos/deleg.sy
rc4fb95d3 rd011038 55 55 -- Function having delegate as the first parameger 56 56 fun Operate(op : BinaryOp; opName : string) is 57 Builtin.Write(opName + "(1, 2): ");58 Builtin.WriteLine(op(1, 2));57 Console.Write(opName + "(1, 2): "); 58 Console.WriteLine(op(1, 2)); 59 59 end 60 60
Note:
See TracChangeset
for help on using the changeset viewer.