Re: NOTE: The STABLE freeze is scheduled to occur TODAY.

2014-11-23 Thread José Pedro Magalhães
Hello Austin, Any change D493 https://phabricator.haskell.org/D493 can be merged too? Thanks, Pedro On Fri, Nov 21, 2014 at 4:57 PM, Austin Seipp aus...@well-typed.com wrote: Hi friends, Today, I'm planning on trying to cut a new `ghc-7.10` branch for the stable freeze. That means I'm

how to write a ghc primop that acts on an unevaluated argument?

2014-11-23 Thread Carter Schonwald
Hey All, as part of trying to get some fixups for how prefetch works into 7.10, i'm adding a prefetchValue primop that prefetchs the memory location of a lifted heap value namely several operations of the following form primop PrefetchValueOp1 prefetchValue1# GenPrimOp a - State# s - State#

Re: NOTE: The STABLE freeze is scheduled to occur TODAY.

2014-11-23 Thread Carter Schonwald
ok, i have D350 and D519 validated and in progress of getting reviews On Fri, Nov 21, 2014 at 2:20 PM, Carter Schonwald carter.schonw...@gmail.com wrote: I'll be getting the storable ratio and complex patches onto phab later today. May also want to discuss the prefetch api later, but I'll

Re: how to write a ghc primop that acts on an unevaluated argument?

2014-11-23 Thread Edward Kmett
Maybe test for laziness in the argument by just putting something in that goes boom when forced, e.g. 'undefined'? On Sun, Nov 23, 2014 at 2:04 PM, Carter Schonwald carter.schonw...@gmail.com wrote: Hey All, as part of trying to get some fixups for how prefetch works into 7.10, i'm adding a

Re: how to write a ghc primop that acts on an unevaluated argument?

2014-11-23 Thread Carter Schonwald
yup, i have that! wrapFetch prefetchValue0# (error this shouldn't get evaluated) in the test suite! in contrast wrapFetch prefetchValue0# $! (error this shouldn't get evaluated) does explode shall I add a should fail test with the latter? (it doesn't seem worthwhile) On Sun, Nov 23,

let app invariant failure, HALP Re: how to write a ghc primop that acts on an unevaluated argument?

2014-11-23 Thread Carter Schonwald
ok, i'm getting a let/app invariant failure when i build my test case with O1 or O2 but not without http://lpaste.net/114881 any help would be appreciated on how to address that On Sun, Nov 23, 2014 at 4:13 PM, Carter Schonwald carter.schonw...@gmail.com wrote: yup, i have that!