News for hackers. Stuff that matters.
Re:A bad citizen in Javaland (2006) by catnaroek on Thursday December 03, 2015 @04:52PM (#10672954)
> To fill an empty cup, you cons a cup and its contents.

That simply has the wrong type in mathematically civilized languages like Standard ML or Haskell.

> The full cup will only get garbage collected if you do not reference it anymore.

This is orthogonal to functional programming. You can avoid the need for a garbage collector with substructural types.

There are no comments on this comment yet.