Comment

Comment by hardwaresofton

Type aliasing!

  type T1 = T2
I'm currently writing a pretty large project in Haskell and am thoroughly enjoying it -- as everyone and their mother says, the type system is superb, and even simple aliases like:

  type UserID = Int
Make it so much easier to read and understand functions.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton