[Haskell-beginners] How would you improve this program?
Lorenzo Bolla
lbolla at gmail.com
Wed Oct 12 17:25:31 CEST 2011
On Tue, Oct 11, 2011 at 4:28 PM, Brent Yorgey <byorgey at seas.upenn.edu>wrote:
> On Tue, Oct 11, 2011 at 02:04:23PM +0300, Ovidiu Deac wrote:
>
> > join "\n" result -- from Data.List.Utils
>
> By the way, 'join "\n" result' is better written 'unlines result' (and
> 'join' is better written 'intercalate'). (Otherwise I completely agree
> with your email.)
>
>
Fixed.
https://github.com/lbolla/stanford-cs240h/blob/master/lab1/lab1.hs
Thanks for the suggestions.
L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111012/0a724bf6/attachment.htm>
More information about the Beginners
mailing list