<div dir="ltr">Yes, but a simple<div><br></div><div>λ> prova :: Int<br></div><div><br></div><div>doesn't work. What am I missing?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 3:11 PM Francesco Ariis <<a href="mailto:fa-ml@ariis.it">fa-ml@ariis.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Il 10 dicembre 2020 alle 14:53 Lawrence Bottorff ha scritto:<br>
> If I simply put a type declaration into the GHCi (version 8.8.4), it<br>
> complains:<br>
> <br>
> Prelude> divides :: Integer -> Integer -> Bool<br>
> <interactive>:18:1-7: error:<br>
> Variable not in scope: divides :: Integer -> Integer -> Bool<br>
> <br>
> I'm trying to use Emacs org-mode babel, and I have to wrap the code block<br>
> to get it to work.<br>
<br>
I do not believe it solves your problem but<br>
<br>
λ> prova :: Int; prova = 8<br>
λ><br>
<br>
works<br>
—F<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div>