[GHC] #9732: Pattern synonyms and unboxed values

GHC ghc-devs at haskell.org
Thu Oct 30 11:52:00 UTC 2014


#9732: Pattern synonyms and unboxed values
-------------------------------------+-------------------------------------
              Reporter:  monoidal    |            Owner:  cactus
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Compile-    |       Blocked By:
  time crash                         |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by cactus):

 Hmm. `mkWorkerArgs` looks like quite the rabbit hole... does it make sense
 to figure out the plumbing for that, or is it good enough to just steal
 the basic idea and implement something similar for pattern synonyms that
 ensures there's always at least one argument (a synthetic `()` if need be)
 to pattern synonym wrapper functions returning unboxed values?

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


More information about the ghc-tickets mailing list