haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] Re: Embedding newlines into a string?

Subject: Re: [Haskell-cafe] Re: Embedding newlines into a string?
From: "Brent Yorgey"
Date: Mon, 14 Apr 2008 13:37:17 -0400


hanoi :: a -> a -> a -> Int -> [(a, a)]
hanoi a b c n = hanoi_helper a b c n

Note that now hanoi is exactly the same function as hanoi_helper, so you may as well just get rid of hanoi_helper. =)
 
-Brent

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>