Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

Int vs Integer #21

Open
odanoburu opened this issue Nov 24, 2017 · 0 comments
Open

Int vs Integer #21

odanoburu opened this issue Nov 24, 2017 · 0 comments

Comments

@odanoburu
Copy link
Contributor

reading the docs I found the following:

The type name Integer replaces in GF 3.0 the name Int, to avoid confusion with the abstract syntax type and to be analogous with the Str vs. String distinction.

so we seem to have moved from Int to Integer, but throughout the documentation (1 2 3) I find different references as to whether the correct type for integers is Int or Integer, and in the source code I looked at (e.g., /lib/src/prelude/Predef.gf) the type seems to be Int still.

I must have missed something, so I wanted to ask what is the correct type after all!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant