#5369: Vectoriser depends in too-fragile a way on the type constraint solver
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:  chak        
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  7.0.4       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by chak):

  * owner:  => chak


Comment:

 We agreed to handle this problem in two stages:

  1. For the moment, the pragmas will be restricted to be of the form `{-#
 VECTORISE f = g #-}`, where `g` is an identifier.  Then, we need no type
 inference for the right-hand side of the pragma.
  2. Once the vectoriser got to a point, where we can call
 `Vectorise.Type.vectType` from the type checker, we will reinstate the
 more general form of the pragma again in a more robust form (where the
 type checker generates a suitable wrapper.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5369#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to