* [Caml-list] OCaml & SWIG issue
@ 2017-09-12 22:26 Kenneth Adam Miller
[not found] ` <CACR9qb-7br5MibU9JsTRyEEtApzag9-q4=mPZm6qtUDQy-05KQ@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Adam Miller @ 2017-09-12 22:26 UTC (permalink / raw)
To: caml users
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
Perhaps I'm not using the SWIG api right, but for conciseness and for the
ability to update my question, please read here:
https://stackoverflow.com/questions/46166269/how-do-i-identify-the-correct-type-parameter-with-swig-ocaml
Does anybody know of an existing ocaml project that uses swig? Because I
badly need to get past these problems with SWIG.
[-- Attachment #2: Type: text/html, Size: 544 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] OCaml & SWIG issue
[not found] ` <CACR9qb-7br5MibU9JsTRyEEtApzag9-q4=mPZm6qtUDQy-05KQ@mail.gmail.com>
@ 2017-09-13 0:25 ` Kenneth Adam Miller
0 siblings, 0 replies; 2+ messages in thread
From: Kenneth Adam Miller @ 2017-09-13 0:25 UTC (permalink / raw)
To: Leonid Rozenberg, caml users
[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]
Thanks for pointing that out. I was asking earlier if anybody knew about
alternatives to libdai. I have a bit of a problem using this library since
I must go through some language boundary eventually, whether that means
translating my data into some intermediate format or going through some
wrapper generator.
I usually never have this much of an issue with something, its just been
errpr and hangup after hang up with this library and swig. Now that I
recall, I haven't ever had a pleasant experience with swig if I had to work
with it.
Ill see if I can't create some even smaller reproducible instance that is
really really minimal - no opam, no oasis, no libdai or anything. Just a
folder with a dockerfile, makefile, swig interface, c header and example ml
that reproduces my issue.
On Sep 12, 2017 8:14 PM, "Leonid Rozenberg" <leonidr@gmail.com> wrote:
> Hello Kenneth,
>
> I'm sorry to hear that you're having all these problems wrapping libdai.
> I unfortunately can't help you as at this point it seems like you're
> dealing with issues
> above my understanding. Though, I'm curious as to what you're implementing
> with libdai and if you considered http://libra.cs.uoregon.edu/ as an
> alternative.
> I haven't used either, but I've rolled my own HMM's for some bioinformatics
> projects.
>
> Best,
> Leonid
>
> On Tue, Sep 12, 2017 at 6:26 PM, Kenneth Adam Miller <
> kennethadammiller@gmail.com> wrote:
>
>> Perhaps I'm not using the SWIG api right, but for conciseness and for the
>> ability to update my question, please read here:
>>
>> https://stackoverflow.com/questions/46166269/how-do-i-identi
>> fy-the-correct-type-parameter-with-swig-ocaml
>>
>>
>> Does anybody know of an existing ocaml project that uses swig? Because I
>> badly need to get past these problems with SWIG.
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2889 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-13 0:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-12 22:26 [Caml-list] OCaml & SWIG issue Kenneth Adam Miller
[not found] ` <CACR9qb-7br5MibU9JsTRyEEtApzag9-q4=mPZm6qtUDQy-05KQ@mail.gmail.com>
2017-09-13 0:25 ` Kenneth Adam Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox