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. curious behavior of Haskell wiki (Doug McIlroy) 2. Different versions of ghci REPL in Emacs? (Lawrence Bottorff) ---------------------------------------------------------------------- Message: 1 Date: Sat, 21 Mar 2020 10:18:07 -0400 From: Doug McIlroy <d...@cs.dartmouth.edu> To: beginners@haskell.org Subject: [Haskell-beginners] curious behavior of Haskell wiki Message-ID: <202003211418.02lei70x108...@tahoe.cs.dartmouth.edu> Content-Type: text/plain; charset=us-ascii Why does a search for "bitwise" in the Haskell wiki find an instance of "bitwise AND", whereas a search for "bitwise AND" or "bitwise and" (in quotes) finds nothing? Is this a bug or a (mis)feature? Doug McIlroy ------------------------------ Message: 2 Date: Sat, 21 Mar 2020 23:42:53 -0500 From: Lawrence Bottorff <borg...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: [Haskell-beginners] Different versions of ghci REPL in Emacs? Message-ID: <CAFAhFSU5dURzp-CBreOK_xE8DBd0virUGFfBR=jm9062mdt...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I'm using Emacs (26.3) and org-mode (9.3.6) and I seem to have two different versions of ghci going, depending on whether I'm using haskell-mode alone with a *.hs file, or whether I am evaluating an org-mode babel code block. If I open, say, test.hs in Emacs, haskell-mode starts up. And if I choose <Start interpreter> from the menu, I get this "lambda prompt" REPL The next big Haskell project is about to start! If I break, you can: 1. Restart: M-x haskell-process-restart 2. Configure logging: C-h v haskell-process-log (useful for debugging) 3. General config: M-x customize-mode 4. Hide these tips: C-h v haskell-process-show-debug-tips λ> But if I call M-run-haskell, I get this "Prelude prompt" REPL Configuring GHCi with the following packages: GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/lawrence/.ghc/ghci.conf Prelude> Prelude> and this babel bit knows and interacts with it #+BEGIN_SRC haskell :results output :set +m doubleMe x = x + x doubleUs x y = doubleMe x + doubleMe y #+END_SRC but then trying to run this code block with lambda prompt REPL, I get the error executing Haskell code block... org-babel-execute:haskell: Buffer *haskell* does not exist or has no process even though the lambda REPL is called *haskell*. Why am I getting two separate REPLs? BTW, which IDE do Haskell big boys and girls use? LB -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200321/6a6b7463/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 141, Issue 3 *****************************************