Hi,<br><br>I'm trying to understand pointfree style better, but it's not coming along as well as I'd like it to. <br>The thing I can't get to work is to reduce an argument that is used more than once in a function.<br>
<br>My function looks like this now (which works like it should):<br>f x = g ((h . i) x) x<br><br>But I'd like to reduce the last argument x. I've looked at the wiki[1] but I couldn't find a systematic way to obtain pointfree functions when they get more complicated.<br>
Any pointers to pages or papers with more examples of obtaining pointfree functions are appreciated.<br><br>Thanks,<br><br>Bas van Gijzel<br><br><br>[1]<a href="http://www.haskell.org/haskellwiki/Pointfree" target="_blank">http://www.haskell.org/haskellwiki/Pointfree</a><br>