
On 04/02/2017 01:56 AM, Tony Morris wrote:
length :: f a -> Int
We immediately know that values of the kind (* -> *) slot in to the value (f), with a kind checker to ensure we get it correct. Therefore, we can easily reason about the length of values of kind ((,) a)
I do find it hilarious that this discussion continued using the term "tuple" as if to make a reasonable point. KIND ERROR.
And it's doubly hilarious that that the above argument is put forward without any regard for picking an appropriate name for the concept, which most certainly is very different from "length" as used in everyday parlance, physics, mathematics, and any CS text-book on data-structures and algorithms I've ever seen. Best, /Henrik This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.