From: William Djaja Tjokroaminata Date: 2002-08-23T02:12:07+09:00 Subject: Re: A Repeat: New Language After Ruby? Hi, Thanks for the info. I have scanned the Haskell web page, but the answer is not obvious. Can we really call C from Haskell and call Haskell from C, at least as good as the interaction between Ruby and C? (Sometimes the information like this cannot be obtained until we are really deep in the language.) Because Ruby is also procedural, basically there is some kind of one-to-one mapping between Ruby and C. Because Haskell is functional, I don't know whether it is possible. For example, there is already Ruby interface for vi (or vi interface for Ruby?), but there is no such thing for GNU Emacs, as Emacs is written in Lisp; some people say that Ruby-Emacs interaction is impossible. Regards, Bill ============================================================================ Nat Pryce wrote: > On Thu, 2002-08-22 at 14:55, William Djaja Tjokroaminata wrote: >> I have some doubt with functional programming languages. Can Haskell or >> any of them be interfaced with C/C++/Java (at the linking level)? > Yes. Haskell code can make calls to C. That's how I/O, user > interfaces and other services are implemented. > But... why are you asking this on the mailing list instead of > downloading a Haskell system and learning it for yourself? :-)