I've come across a piece of Haskell code that looks like this:
ps@(p:pt)
What does the @
symbol mean in this context? I can't seem to find any info on Google (it's unfortunately hard to search for symbols on Google), and I can't find the function in the Prelude documentation, so I imagine it must be some sort of syntactic sugar instead.
@
on that page explains it. – Rob Kennedy