Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • 7
    Nice answer - could you give me a simple example of a higher kinded-type, think that would help me understand why it's impossible to do in java. Commented Apr 16, 2015 at 20:16
  • 3
    There are some good examples here. Commented Apr 16, 2015 at 20:27
  • 3
    Pattern matching is also really important, it means you can use the type of an object to make decisions super easily. Commented Apr 16, 2015 at 21:09
  • 2
    @BenjaminGruenbaum I don't think I'd call that a type system feature. Commented Apr 16, 2015 at 21:14
  • 3
    While ADTs and HKTs are definetly part of the answer I doubt anyone asking this question is going to know why they are useful, I suggest that both sections need to be expanded to explain this Commented Apr 17, 2015 at 6:38