>> When using `cl-labels', please prefer longer, more descriptive function
>> names. These functions do not have a docstring and I now am left
>> guessing and reading the function code repeatedly to understand the
>> usage.
>
> I tried to use more descriptive names. I hope it's easier to read now.
Yes. Thanks!
>>> + (full-body (org-babel-expand-body:generic
>>> + body params
>>> + (org-babel-variable-assignments:haskell params)))
>>
>> I think we want `org-babel-expand-src-block' here instead of using
>> semi-internal ob-core.el parts.
>
> Are you sure about this ? I didn't modify this part and I didn't see
> this function used in other backends. I've also checked ob-python and
> ob-shell: they both use the same code as above.
Well. You are right. Not that I like it. Let's leave this be until I
find time to refactor ob-core API.
>>> - (let ((buffer (org-babel-haskell-initiate-session session)))
>>> + (let ((buffer (org-babel-haskell-initiate-session session params)))
>>
>> PARAMS argument is ignored by `org-babel-haskell-initiate-session'. I am
>> not sure why you are trying to pass it here.
>
> We have the PARAMS, and, org-babel-haskell-initiate-session has a
> PARAMS arguments. So, at the API level, I think it's better to
> propagate it than to ignore it. But you're right that, today, the
> current implementation ignores it.
>
> I'm fine with dropping that change if you so prefer.
I am mostly neutral here. Slightly in favour of keeping things unchanged.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at