Re: TR issue with the type of expt

Pierpaolo Bernardi <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CANY8u7Hoymgo0jSt3ENj9RXfEw=NG28G4kK=8Gtpu7wx0qHPEA@mail.gmail.com>
On Tue, Sep 27, 2016 at 3:23 PM, Tim Brown <[email protected]> wrote:

> I believe (because I can’t think of a counterexample) that
> (expt Real Real) is never Complex; and therefore expt can be of type
> (Real Real -> Real).

What about (expt -1 1/2) ?

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.