Skip to content
Snippets Groups Projects
Commit d4e38936 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2001-07-13 13:29:56 by simonpj]

------------------------------------
	Tidy up the "syntax rebinding" story
	------------------------------------

I found a bug in the code that dealt with re-binding implicit
numerical syntax:
	literals 	(fromInteger/fromRational)
	negation	(negate)
	n+k patterns	(minus)

This is triggered by the -fno-implicit-prelude flag, and it
used to be handled via the PrelNames.SyntaxMap.

But I found a nicer way to do it that involves much less code,
and doesn't have the bug.  The explanation is with
	RnEnv.lookupSyntaxName
parent b5f35df4
No related branches found
No related tags found
Loading
Showing
with 188 additions and 228 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment