j
k
j a
j l
On 08/18/2016 08:03 AM, Carl Petersen wrote:
How do you rewrite head (tail [1,2,3]) without parenthesis.
case [1,2,3] of x1:x2:xs -> Just x2; otherwise -> Nothing
Back to the thread
Back to the list