Re: Specializing expressions beyond names?

2016-02-03 Thread Conal Elliott
xplanation is fundamentally about named functions, so I don’t > understand this “general expression” bit. Sorry! > > > > Simon > > > > *From:* ghc-devs [mailto:ghc-devs-boun...@haskell.org] *On Behalf Of *Conal > Elliott > *Sent:* 01 February 2016 01:16 > *To:*

RE: Specializing expressions beyond names?

2016-02-03 Thread Simon Peyton Jones
Elliott Sent: 01 February 2016 01:16 To: ghc-devs@haskell.org Subject: Re: Specializing expressions beyond names? A related question: if there are a great many rules of the form "reify (foo ...) = ...", where 'reify' is always present (and the outermost application head) but for man

Re: Specializing expressions beyond names?

2016-01-31 Thread Conal Elliott
A related question: if there are a great many rules of the form "reify (foo ...) = ...", where 'reify' is always present (and the outermost application head) but for many different argument expressions, will rule matching be linear (expensive) in the number of such rules? -- Conal On Sun, Jan 31,