▲ | sestep a day ago | |||||||
I see, so similar to the other languages I mentioned in my post, it looks like Haskell doesn't let you colocate the types with the leaves of the binding form? | ||||||||
▲ | instig007 10 hours ago | parent [-] | |||||||
> doesn't let you colocate the types with the leaves of the binding form Can you elaborate on the effective difference between colocations in your example and this:
The `Kwargs{..}` alone does imply a non-ambiguous type in the function signature (without explicit but optional annotations), and it binds locally scoped names too. Why doesn't it colocate in the same sense? | ||||||||
|