6 Dec
2005
6 Dec
'05
8:13 p.m.
Hi Bulat, the (:) is used as a pattern, not as an expression, but I'm not sure whether there is a similar notation for (:) patterns using quotation brackets. -- Christoph Bulat Ziganshin wrote:
Hello Simon,
Wednesday, November 30, 2005, 4:49:13 PM, you wrote:
SPJ> let pcons x xs = return $ InfixP x '(:) xs
is not
let pcons x xs = [| x:xs |]
better?