It is the constructor for a non-empty list (Data.List.NonEmpty).

http://hackage.haskell.org/package/semigroups-0.12.2/docs/Data-List-NonEmpty.html


On Fri, Mar 28, 2014 at 3:54 PM, John M. Dlugosz <ngnr63q02@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@haskell.org
http://www.haskell.org/mailman/listinfo/beginners