aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/32-generic-functions/src/HelloWorld.shed1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/32-generic-functions/src/HelloWorld.shed b/examples/32-generic-functions/src/HelloWorld.shed
index bc7b1243..8963f813 100644
--- a/examples/32-generic-functions/src/HelloWorld.shed
+++ b/examples/32-generic-functions/src/HelloWorld.shed
@@ -10,6 +10,7 @@ fun compose[A, B, C](
f: fn (A) -> B,
g: fn (B) -> C
) -> fn (A) -> C {
+ // TODO: infer type of param `a` when this is a block return
return fn (a) { g(f(a)) };
}