babel-haskell: variety of bug fixes
commitf4b78ad3c882746cb9e2f11be977c58651620488
authorEric Schulte <schulte.eric@gmail.com>
Mon, 28 Jun 2010 16:55:09 +0000 (28 09:55 -0700)
committerEric Schulte <schulte.eric@gmail.com>
Mon, 28 Jun 2010 16:55:09 +0000 (28 09:55 -0700)
treeb8d96805127cf1bdb169d4c347b0ebe8714892c0
parent0e636dc2ed8dc4c2a4663551d975ee2a6719c967
babel-haskell: variety of bug fixes

  Thanks to Christopher Witte for raising these issues

* lisp/babel/langs/ob-haskell.el (org-babel-expand-body:haskell):
  replaced missing () wrapping, and now using correct variable
  expansion

  (org-babel-execute:haskell): now using
  org-babel-haskell-initiate-session to start sessions

  (org-babel-haskell-initiate-session): only starting sessions if none
  exists, also added a .25 second wait on brand new sessions to allow
  the Haskell interpreter to fire up

  (org-babel-load-session:haskell): now optionally accepts processed
  params to avoid over-execution of variable resolution

  (org-babel-prep-session:haskell):  now optionally accepts processed
  params to avoid over-execution of variable resolution, also placing
  the variable definitions directly in the session instead of loading
  them from a separate file
lisp/babel/langs/ob-haskell.el