packages feed

hsc3-lang-0.8: Help/Pattern/List/ptail.help.lhs

tail :: [a] -> [a]
ptail :: P a -> P a

Drop first element from pattern.

> import Sound.SC3.Lang.Pattern.List

> ptail (pseq [1, 2, 3] 1)

> ptail pempty

Note that the haskell tail function is partial.

> tail []