4 ms·
What programming language is that? I can't read it enough to understand the article.
by BurningFrog 7y ago
What programming language is that?
I can't read it enough to understand the article.
- spawarotti 7y agoLooks like Haskell to me.
- TuringTest 7y agoML-like languages all look the same, but compile in completely different ways.
- Tyr42 7y agoIt's similar, but Haskell uses :: for types, and : for building lists, while the other ML family languages (and typescript) uses : for types, and some use :: for lists. Also Haskell doesn't have modules, so I thought it was ML. Though I think someone said it was F#? I don't know those well enough to tell them apart.
- exceptione 7y agoHaskell has modules.
- Tyr42 7y agouh, parametric modules? Haskell tends to use Typeclasses instead. (Yes, I know each file gets called a module, but that's not really the same as seeing a "module" keyword in the file). Unless backpack counts? I haven't been following it. I know there's a thing in Coq/ML/OCAML which uses the keyword `module` and can do some of the same things Typeclasses can do but aren't exactly the same. I don't know them well enough to explain them, but I know Haskell doesn't have them. https://gitlab.haskell.org/ghc/ghc/wikis/backpack https://gitlab.haskell.org/ghc/ghc/wikis/backpack
- Smaug123 7y agoIt's F#, a dialect of ML, related to OCaml and running on .NET. Think "the love child of Haskell and C#".