From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: ob-haskell evaluation needs inf-haskell but it does not exist Date: Wed, 15 Nov 2017 21:17:36 +0800 Message-ID: References: <87bmk6uqty.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113dae548b1fdb055e055504" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eExZw-0000yR-Ev for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 08:18:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eExZv-0000rc-C2 for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 08:18:08 -0500 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:57194) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eExZv-0000r4-6K for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 08:18:07 -0500 Received: by mail-oi0-x22e.google.com with SMTP id a81so5875865oii.13 for ; Wed, 15 Nov 2017 05:18:07 -0800 (PST) In-Reply-To: <87bmk6uqty.fsf@alphaville.usersys.redhat.com> 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: Nick Dokos Cc: Org-mode --001a113dae548b1fdb055e055504 Content-Type: text/plain; charset="UTF-8" I required `(require 'inf-haskell)` But have not found the command `inf-haskell` to start inferior process. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Nov 13, 2017 at 11:43 PM, Nick Dokos wrote: > stardiviner writes: > > > 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) > > See my answer to this SO question: > > https://stackoverflow.com/questions/42081379/how-to-set- > up-org-babel-for-haskell-with-stack > > for some details on setting up the environment. > > -- > Nick > > > --001a113dae548b1fdb055e055504 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I required `(require 'inf-haskell)` But have not found= the command `inf-haskell` to start inferior process.

[= stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &l= t;Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitt= er:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 = CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>

On Mon, Nov 13, 2017 at 11:43 PM, Nick Dokos= <ndokos@gmail.com> wrote:
= stardiviner <num= bchild@gmail.com> writes:

> When I execute the following Haskell src block:
>
> ```
>
> #+BEGIN_SRC haskell :session :tangle "Data/Code/hello_world.hs&qu= ot;
> main :: IO ()
> main =3D do
> =C2=A0 putStrLn "Hello, World!"
> #+END_SRC
>
> ```
>
> It reports error:
>
> ```
>
> Debugger entered--Lisp error: (file-missing "Cannot open load fil= e" "No
> such file or directory" "inf-haskell")
> =C2=A0 require(inf-haskell)

See my answer to this SO question:

=C2=A0 ht= tps://stackoverflow.com/questions/42081379/how-to-set-up-org-babe= l-for-haskell-with-stack

for some details on setting up the environment.

--
Nick



--001a113dae548b1fdb055e055504--