cat-language icon indicating copy to clipboard operation
cat-language copied to clipboard

Incomplete sentence in README

Open vanaur opened this issue 4 years ago • 1 comments

Hello,

I was reading about the type system of Cat, in the README, but it would seem that a sentence is not complete (at this section):

Each identifer represents an individual type on the stack, except for the last identifier before th

With the context, perhaps you meant the following?

... except the last identifier of the two operands of the arrow, thus representing the stack (in upper case?).

Indeed, if I understand the type system correctly, the capital letter represents the stack, and the identifiers preceding it are elements of the top of this stack: pop : ('a 'S -> 'S).

Thanks.

vanaur avatar Aug 05 '19 12:08 vanaur