[GHC] #7828: RebindableSyntax and Arrow

GHC ghc-devs at haskell.org
Tue Jun 17 19:15:29 UTC 2014


#7828: RebindableSyntax and Arrow
----------------------------------------------+----------------------------
        Reporter:  AlessandroVermeulen        |            Owner:
            Type:  bug                        |  jstolarek
        Priority:  normal                     |           Status:  new
       Component:  Compiler (Type checker)    |        Milestone:  7.10.1
      Resolution:                             |          Version:  7.6.2
Operating System:  Unknown/Multiple           |         Keywords:
 Type of failure:  GHC rejects valid program  |     Architecture:
       Test Case:                             |  Unknown/Multiple
        Blocking:                             |       Difficulty:  Unknown
                                              |       Blocked By:
                                              |  Related Tickets:  #1537,
                                              |  #3613
----------------------------------------------+----------------------------

Comment (by carter):

 Question: would it be possible as part of this refactoring to have a sort
 of generalized (weaker) arrow that doesn't have arr?

 having arr be baked into the Arrow machinery makes using Arrow for deep
 embeddings not tenable (such as circuit/frp models that you may wanna
 compile at runtime).  bind has a similar issue, because it allows
 injecting any haskell function  f :: a -> b

 It may be out of scope for this effort, but figure I should ask

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


More information about the ghc-tickets mailing list