[Haskell-beginners] What is operator :| ?
tmorris at tmorris.net
Fri Mar 28 06:41:26 UTC 2014
It is the constructor for a non-empty list (Data.List.NonEmpty).
On Fri, Mar 28, 2014 at 3:54 PM, John M. Dlugosz
<ngnr63q02 at sneakemail.com>wrote:
> http://www.haskell.org/haskellwiki/Typeclassopedia under §8.1,
> sconcat = sconcat (a :| as) = go a as where
> What is the meaning of :| ?
> I see it is really in the cited module source, not a typo on the page.
> More generally, is there some effective way to search for non-alphabetical
> Haskell things? Google just ignores the "punctuation".
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners