-- -a-linked-list-to-a-string

module Kata where

stringify :: [Int] -> String
stringify [] = "null"
stringify (x:xs) = show x ++ " -> " ++ stringify xs

 -a-linked-list-to-a-string

module Kata where

stringify :: [Int] -> String
stringify [] = "null"
stringify (x:xs) = show x ++ " -> " ++ stringify xs
