determining if a int is a power

Matt Harden matth at mindspring.com
Sun Nov 9 22:41:23 EST 2003


On Saturday 08 November 2003 04:31 am, Wolfgang Jeltsch wrote:
> Am Samstag, 8. November 2003, 00:22 schrieb Hamilton Richards:
> > Also note that
> >
> > 	if x then True else False
> >
> > is just a verbose way of writing
> >
> > 	x
>
> Actually, it's just a verbose way of writing x `seq` x, but this detail is,
> of course, not interesting for beginners.

??

Sorry, but x `seq` x is just a verbose way of saying x.

Matt



More information about the Haskell-Cafe mailing list