j
k
j a
j l
On Feb 10, 2008 1:20 PM, Felipe Lessa wrote:
Maybe addProduct :: [Product] -> Product -> [Product] addProduct inventory p = p : delete p inventory
Maybe
addProduct :: [Product] -> Product -> [Product] addProduct inventory p = p : delete p inventory
Oh, forget this, it will keep rewriting the tail of the list, which is a Bad Thing (TM). -- Felipe.
Back to the thread
Back to the list