[haskell-llvm] Limitation of API - omissions or design?

John Lato jwlato at gmail.com
Thu Dec 16 14:36:28 EST 2010


From: Henning Thielemann <lemming at henning-thielemann.de>

>
> > For example it seems
> > to be not possible to create array containing other things that 0 and -1
> > other then String.
>
> I have already successfully worked with arrays. Can you please show a
> piece of code that does not do what it should?
>

I believe the OP's problem is that it's not possible to define a constant
array with values other than 0 and 1 (except for String) using only the
functions visible in the docs.


>
> > The constOf function is also not exported.
>
> The constOf function is exported, but for some unknown reason Haddock
> does not show it.
>

This is a seriously annoying problem.  There are a lot of functions (e.g.
many vector functions) which aren't shown by Haddock, and the only way to
find them is to comb the source.

Do you know what the Haddock bug is, or if there's a way to work around it?
Or if there's complete non-Haddock documentation available?

John

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.haskell.org/pipermail/haskell-llvm/attachments/20101216/3f721037/attachment.htm 


More information about the Haskell-llvm mailing list