emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Symbol’s value as variable is void: haskell-prompt-regexp
Date: Mon, 04 Jun 2018 14:01:40 -0400	[thread overview]
Message-ID: <87vaayl9bv.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: y65r2lmsbp5.fsf@mun.ca

Roger Mason <rmason@mun.ca> writes:

> Hello,
>
> GNU Emacs 25.3.1 (i386-portbld-freebsd11.1, GTK+ Version
> 3.22.29) of 2018-04-26
>
> Org mode version 9.1.13 (release_9.1.13-784-ged7d1d @ /home/rmason/.emacs.d/org-git/lisp/)
>
> Attempting to run a haskell code block:
>
> #+begin_src haskell :exports results 
> cations=["Na","Mg","Al","Si","K","Ti","Fe"]
> atwt=[22.9897,24.305,26.9815,28.0855,39.0983,47.867,55.845]
> nanmol=[1,1,3,2,1,2,3]
> ncatmol=[2,1,2,1,2,1,2]
> anwt= replicate (length atwt) 15.9994
> #+end_src
>
> gives this message:
> executing Haskell code block...
> run-hooks: Symbol’s value as variable is void: haskell-prompt-regexp
>
> Any help in solving this will be most appreciated.
>

Try evaluating

(require 'inf-haskell)

and then try evaluating the source code block again.

Untested.
-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler

  reply	other threads:[~2018-06-04 18:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 17:28 Symbol’s value as variable is void: haskell-prompt-regexp Roger Mason
2018-06-04 18:01 ` Nick Dokos [this message]
2018-06-04 18:16   ` Roger Mason
2018-06-04 18:36     ` Nick Dokos
2018-06-04 19:28       ` Roger Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vaayl9bv.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).