patch applied (haskell-prime-status): add ""Make $ left associative, like application"

Steven Hazel sah at awesame.org
Thu Apr 24 13:11:04 EDT 2008


On Wed, Apr 23, 2008 at 8:13 PM, Manuel M T Chakravarty
<chak at cse.unsw.edu.au> wrote:
> We should be careful about where we break existing code, and we should try to support automatic translation of H98 to H' code, but any changes that we do not make now will become even more difficult in the future when there is even more Haskell code.  Look at what is happening now already, industrial users applying pressure on the committee to not change the language too much for the sake of legacy code.  A clear indication that anything we don't change now, we will have to live with forever.
>
> Hence, anything that is *important* to change, we should change now.  We should mitigate the pain by having a H98 to H' translator and Haskell compilers will surely support a Haskell98 compatibility mode as long as there are enough users interested in such a feature.  (This is not unlike the transition from K&R C to ANSI C.)

For ($), automatic translation could be as simple as changing a couple
module imports:
import Prelude hiding (($))
import Haskell98 (($))

-- 
Steven Hazel
sah at awesame.org


More information about the Haskell-prime mailing list