Add all the assignment code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
58c6b1f81c
commit
cfe502c598
1277 changed files with 48709 additions and 1 deletions
17
hw5/hw5programs/tc_arrow_null_rec.oat
Normal file
17
hw5/hw5programs/tc_arrow_null_rec.oat
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
struct Point {
|
||||
int x;
|
||||
int y
|
||||
}
|
||||
|
||||
Point? f() {
|
||||
return Point null;
|
||||
}
|
||||
|
||||
Point? g(() -> Point? x) {
|
||||
return x();
|
||||
}
|
||||
|
||||
Point? h((() -> Point?) -> Point? x) {
|
||||
return x(f);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue