Y
Hacker News
new
|
ask
|
show
|
jobs
by
derriz
830 days ago
Why not in the other direction? If NonEmptyList inherits from List, then head (and tail) would be methods of NonEmptyList but not of List.