[commit: ghc] supercompiler: Comment only about evaluatePrim (2ce5cd2)

Max Bolingbroke <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : supercompiler

http://hackage.haskell.org/trac/ghc/changeset/2ce5cd2e768fbb21a9585279d85d50f5dd2a6761

>---------------------------------------------------------------

commit 2ce5cd2e768fbb21a9585279d85d50f5dd2a6761
Author: Max Bolingbroke <[email protected]>
Date:   Wed Mar 21 17:09:22 2012 +0000

    Comment only about evaluatePrim

>---------------------------------------------------------------

 .../Supercompile/Evaluator/Evaluate.hs             |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/compiler/supercompile/Supercompile/Evaluator/Evaluate.hs b/compiler/supercompile/Supercompile/Evaluator/Evaluate.hs
index 45a189a..9cf213e 100644
--- a/compiler/supercompile/Supercompile/Evaluator/Evaluate.hs
+++ b/compiler/supercompile/Supercompile/Evaluator/Evaluate.hs
@@ -27,6 +27,7 @@ import Pair
 import Demand (splitStrictSig, isBotRes)
 
 
+-- FIXME: this doesn't really work very well if the Answers are indirections, which is a common case!
 evaluatePrim :: InScopeSet -> Tag -> PrimOp -> [Type] -> [Answer] -> Maybe (Anned Answer)
 evaluatePrim iss tg pop tys args = do
     args' <- fmap (map CoreSyn.Type tys ++) $ mapM to args
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.