Tariq<p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@jonmsterling" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jonmsterling</span></a></span> </p><p>I think I've cracked it.</p><p>The type of </p><p>λxyz.(xz)(yz)</p><p>is</p><p>( A → (E → F)) → (C → E) → C → F</p><p>I was previously trying to infuse information about what gets applied to what in the final type and mistakenly doing stuff like (AB)</p><p>Now I realise the "dependency" info all goes into the "input" types as above.</p><p><a href="https://mastodon.social/tags/maths" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>maths</span></a> <a href="https://mastodon.social/tags/cs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cs</span></a></p>