
17 Aug
2007
17 Aug
'07
3:49 a.m.
Lennart Augustsson wrote:
On 8/16/07, Kim-Ee Yeoh
wrote: 'Course not. The (++) function like all Haskell functions is only a /promise/ to do its job. What does "assembling at compile time" mean here:
s = "I will not write infinite loops " ++ s
But if the strings are all constant it's perfectly feasible to concatenate them at compile time.
It's feasible and I might add that it isn't worth it. Not for just concatenation. How much static evaluation do you want to see in Haskell? -- View this message in context: http://www.nabble.com/Hints-for-Euler-Problem-11-tf4114963.html#a12195537 Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.