aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-03-02 11:26:01 +0000
committerMichael Williamson <mike@zwobble.org>2024-03-02 11:26:01 +0000
commit780dbdabd21f3083f9703aa2be1b311eaaf0d729 (patch)
tree8ad6eca3e547794221ff9e70a1cebd5724759385 /examples
parenta715084a95b3ee6de1d73bab5ec1078f9308e6e3 (diff)
Add TODO
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)) };
}