Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Latest ghci on Ubuntu 16.10? (Lawrence Bottorff) ---------------------------------------------------------------------- Message: 1 Date: Thu, 2 Mar 2017 16:34:26 -0500 From: Lawrence Bottorff <borg...@gmail.com> To: beginners@haskell.org Subject: [Haskell-beginners] Latest ghci on Ubuntu 16.10? Message-ID: <CAFAhFSUzhEOdOa+nrJPk9exty=np8+ir1b9f8jgrbpakbim...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I'm on Ubuntu 16.10 and I've followed this <https://docs.haskellstack.org/en/stable/install_and_upgrade/#linux>, but now I have ghci 7.10.3, which still needs the the "let" in front of every function for use in places like Emacs org-mode's babel. Here's an example of what I have to do in org-mode to get it to run: #+begin_src haskell :set +m let doubleSmallNumber4 x = if x > 0 then x else x*2 doubleSmallNumber4 42 #+end_src I've heard that an 8.+ version of ghci eliminates this issue. Is this true? If so, how can I upgrade my "stack." LB -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170302/f7750491/attachment-0001.html> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 105, Issue 1 *****************************************