13 ms·
Looks like Haskell to me.
by spawarotti 7y ago
Looks 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