by GHC,
avoiding calling f through a pointer because at the call site, we know
what 'f' is (this is also mentionned in the blog post by Johan).
On Wed, Feb 13, 2013 at 9:55 AM, Andrew Polonsky
andrew.polon...@gmail.com wrote:
Hello,
Is there any difference in efficiency between these two
Hello,
Is there any difference in efficiency between these two functions, when
compiled with all optimizations?
map f [] = []
map f (a:as) = f a : map f as
and
map f x = map' x where
map' [] = []
map' (a:as) = f a : map' as
Thanks,
Andrew
___
On Thu, Jan 21, 2010 at 18:17, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
Andrew Polonsky andrew.polon...@gmail.com writes:
Help!! I am trying to build 6.12 on a fresh 64-bit Ubuntu, with no
GHC installed yet. The compiler itself builds happily, but when I try
to make install
Dear all,
Help!! I am trying to build 6.12 on a fresh 64-bit Ubuntu, with no
GHC installed yet. The compiler itself builds happily, but when I try
to make install the Haskell platform, I eventually get the error
Setup: GLUT-2.1.1.2: dependency
OpenGL-2.2.1.1-b638210d1627880d532e3b035b53bcd2