News for hackers. Stuff that matters.
Re:Elm 0.15: Asynchrony with Tasks by pka on Tuesday April 21, 2015 @12:55AM (#9412355)
It would probably help to also have something like this:

  singleton : a -> NonEmpty a
  cons : a -> NonEmpty a -> NonEmpty a
  head : NonEmpty a -> a
  last : NonEmpty a -> a
  init : NonEmpty a -> Maybe (NonEmpty a)
  tail : NonEmpty a -> Maybe (NonEmpty a)

There are no comments on this comment yet.