Bulat Ziganshin wrote:
> >   length mates_str `seq` return ()
> 
> it's the same. i recommend you to use:
> 
> return $! tail mates_str
> 
> 'tail' should be slightly faster than 'len'

...but also slightly less correct.  You probably meant 'last'.  (But
it's still an ugly and dangerous programming style.)


Udo.
-- 
Why is television called a medium?
Because it is neither rare nor well-done.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to