haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] More on the random idea

Subject: Re: [Haskell-cafe] More on the random idea
From: Isaac Dupree
Date: Sun, 27 May 2007 12:58:37 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Isaac Dupree wrote:
> "The expression is bound to a random top level identifier (harmless to
> guess)"
> 
> What about the non-recursive
> 
> case ...expr... of x -> take 2048 (show x)
> 
> this way expr can't refer to x (it doesn't at all need to be randomly
> generated this way) and definitely can't bind other things like take and
> show (they probably should be qualified anyway)

er, wait, I'm confused. Is it top-level? If not, it could just be

take 2048 (show ( ...expr... ))

and it doesn't look top-level to me from the lambdabot code in
scripts/RunPlugs.hs

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGWbi8HgcxvIWYTTURAqaMAKCxzKOW+6RDe2kTG6KX8lktQnwY1QCgyO5S
jCJQKnGhAi3NLO1bzzbeLzI=
=Innv
-----END PGP SIGNATURE-----
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>