From 780dbdabd21f3083f9703aa2be1b311eaaf0d729 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 2 Mar 2024 11:26:01 +0000 Subject: Add TODO --- examples/32-generic-functions/src/HelloWorld.shed | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') 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)) }; } -- cgit v1.2.3