Re: [stack] typing higher-order concatenative languages with standard hindley-milner

John Nowak <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On May 31, 2008, at 3:48 AM, Christopher Diggins wrote:

> The type of factorial in Cat is correct.
> Most mathematical operators return "any", because they are not bound
> to specific types.
> For example "mul" has type "(any any -> any)" whereas "mul_int" has
> type "(int int -> int)".

Ah, very embarrassing. My mistake. Cat does indeed give the expected  
type when 'sub_int' and 'mul_int' are used.

Thanks for the correction.

- John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.