Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunC Type System Defintion #719

Open
jubnzv opened this issue Aug 13, 2024 · 1 comment
Open

FunC Type System Defintion #719

jubnzv opened this issue Aug 13, 2024 · 1 comment

Comments

@jubnzv
Copy link

jubnzv commented Aug 13, 2024

The Types page has the following statement:

FunC has Miller-Rabin type system with support for polymorphic functions.

Could you please elaborate in more detail what Miller-Rabin type system is?

It seems like there is some confusion with the Miller-Rabin algorithm. However, the Hindley-Milner type system, which name sounds similar, is not suitable for FunC because it doesn't require explicit forall statements.

@ilyar
Copy link
Contributor

ilyar commented Aug 13, 2024

There might be a typo, and it should say "Hindley-Milner type system" this is not the original system but a modified one, for example, in Haskell, it has a number of extensions and modifications, perhaps the authors were inspired by Haskell... https://downloads.haskell.org/~ghc/7.8.3/docs/html/users_guide/other-type-extensions.html

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

No branches or pull requests

2 participants