On Apr 5, 2012, at 5:08 PM, Donn Cave wrote:
As things stand, it is quite a hassle to use a Haskell library of
any complexity called from C.
[…]
I wonder if the fact that we recognize these problems but haven't
been super-motivated to solve them, suggests that there hasn't really
been that
I love the idea of easier to use FFI, but isn't the haskell FFI
intentionally very low level, and intended to be used with tools?
In that light, maybe it would be easier to extend hsc2hs with fancier
macros and the ability to generate wrappers to directly call C++
methods and construct C++
On Thu, Apr 5, 2012 at 01:53, Sutherland, Julian
julian.sutherlan...@imperial.ac.uk wrote:
data Tree = Node Left Right | Leaf
Could be converted to a struct in C/C++:
struct Tree {
struct Tree* left;
struct Tree* right;
};
Shouldn't this actually be a tagged union? Not that
Am 05.04.2012 um 08:42 schrieb Brandon Allbery:
On Thu, Apr 5, 2012 at 01:53, Sutherland, Julian
julian.sutherlan...@imperial.ac.uk wrote:
data Tree = Node Left Right | Leaf
Could be converted to a struct in C/C++:
struct Tree {
struct Tree* left;
struct Tree* right;
};
On Thu, Apr 5, 2012 at 03:21, Holger Siegel holgersiege...@yahoo.de wrote:
Am 05.04.2012 um 08:42 schrieb Brandon Allbery:
On Thu, Apr 5, 2012 at 01:53, Sutherland, Julian
julian.sutherlan...@imperial.ac.uk wrote:
data Tree = Node Left Right | Leaf
Could be converted to a struct in
On Thursday, April 5, 2012 at 1:53 AM, Sutherland, Julian wrote:
Hey Guys,
I'm Julian, I am reaching the end of my second year as a JMC (Joint
Mathematics and Computer science) Student at Imperial College London
and I'd like to apply to GSOC for a project involving Haskell and I just
Quoth Anthony Cowley acow...@seas.upenn.edu,
...
I think this is a consequence of line buffering rather than a bug. If
you write your own increment function in Haskell, you get the same
behavior. If you `hSetBuffering stdout NoBuffering` before your `putStr`
call, you should get the behavior
Hey Guys,
I'm Julian, I am reaching the end of my second year as a JMC (Joint Mathematics
and Computer science) Student at Imperial College London
and I'd like to apply to GSOC for a project involving Haskell and I just wanted
to run my idea past the community.
I've already talked about this