[cvs-nhc98] Avoid unnecessary pattern matching in ?ap? combinators.

User olaf olaf@sparud.net
Fri, 27 Apr 2001 12:31:44 +0200 (CEST)


olaf: Fri Apr 27 12:31:43 CEST 2001

Update of /usr/src/master/nhc/src/prelude/PreludeDebug
In directory hinken:/tmp/cvs-serv3721/src/prelude/PreludeDebug

Modified Files:
	PreludeDebug.hs 
Log Message:
Avoid unnecessary pattern matching in ?ap? combinators.

In those combinators where the trace component of a wrapped expression is not always needed, pattern matching on `R' is moved to a case expression in the combinator body.

Time measurements are too imprecise to determine if this has any effect on runtime.