From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: ob-haskell evaluation needs inf-haskell but it does not exist Date: Sun, 12 Nov 2017 14:30:06 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDlma-0000Ta-01 for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 01:30:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDlmW-0005aa-S7 for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 01:30:15 -0500 Received: from mail-pg0-x22a.google.com ([2607:f8b0:400e:c05::22a]:55407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDlmW-0005Zx-M1 for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 01:30:12 -0500 Received: by mail-pg0-x22a.google.com with SMTP id 207so7609703pgc.12 for ; Sat, 11 Nov 2017 22:30:12 -0800 (PST) Received: from [0.0.0.0] ([119.28.89.243]) by smtp.gmail.com with ESMTPSA id k8sm22166943pgt.22.2017.11.11.22.30.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Nov 2017 22:30:10 -0800 (PST) Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode When I execute the following Haskell src block: ``` #+BEGIN_SRC haskell :session :tangle "Data/Code/hello_world.hs" main :: IO () main = do   putStrLn "Hello, World!" #+END_SRC ``` It reports error: ``` Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "inf-haskell")   require(inf-haskell)   org-babel-haskell-initiate-session(nil ((:colname-names) (:rowname-names) (:result-params "replace") (:result-type . value) (:results . "replace") (:exports . "code") (:cache . "no") (:noweb . "no") (:hlines . "no") (:padlines . "no") (:session) (:tangle . "Data/Code/hello_world.hs")))   org-babel-execute:haskell("main :: IO ()\nmain = do\n  putStrLn \"Hello, World!\"" ((:colname-names) (:rowname-names) (:result-params "replace") (:result-type . value) (:results . "replace") (:exports . "code") (:cache . "no") (:noweb . "no") (:hlines . "no") (:padlines . "no") (:session) (:tangle . "Data/Code/hello_world.hs")))   org-babel-execute-src-block(nil ("haskell" "main :: IO ()\nmain = do\n  putStrLn \"Hello, World!\"" ((:colname-names) (:rowname-names) (:result-params "replace") (:result-type . value) (:results . "replace") (:exports . "code") (:tangle . "Data/Code/hello_world.hs") (:session) (:padlines . "no") (:hlines . "no") (:noweb . "no") (:cache . "no")) "" nil 1127 "(ref:%s)"))   org-ctrl-c-ctrl-c(nil)   funcall-interactively(org-ctrl-c-ctrl-c nil)   call-interactively(org-ctrl-c-ctrl-c nil nil)   command-execute(org-ctrl-c-ctrl-c) ```