Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread John Velman
unavoidable interruptions is over, I'll look into the email on Haskell one-liners, and some of the new tutorials to try to come back up to speed. Not in a nursing home yet! Good luck, John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] problems with HOC install from svn

2009-09-08 Thread John Velman
t;*libHS* and found libHSGLFW..., libHSparsec-3.0.0. (also tried this in my home directory). What is this, and how do I get it? Best, John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] problems with HOC install from svn

2009-09-08 Thread John Velman
ve C for a year or so now, but never tried this before. I am interested in HOC, but I've obviously got a lot to learn. Thanks again, John Velman On Tue, Sep 08, 2009 at 08:35:54PM -0400, Ross Mellgren wrote: > It sounds like it's looking for the binary package -- you should install

Re: [Haskell-cafe] problems with HOC install from svn

2009-09-09 Thread John Velman
t know about permissions for issues on this site). Thanks for your interest and help. John Velman On Tue, Sep 08, 2009 at 11:44:36PM -0400, Ross Mellgren wrote: > I have binary-0.5 not binary-0.5.0.1, but it doesn't have any dylibs. > Moreover, I was under the impression that GHC do

[Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-06 Thread John Velman
d I got a bunch of missing entry points (26, if I recall correctly). Adding libffi.a and libHSrts.a brings me up to 56 missing entry points. Searching the other lib files for these seems pretty hopeless. Any pointers to documentation, or other help will be greatly appreciated! Thank

Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-06 Thread John Velman
on the names of the undefined symbols. Have you link in... > libgmp.a? libm.a? libc.a? What are the missing symbols? > > Thomas > > On Tue, Oct 6, 2009 at 9:44 AM, John Velman wrote: > > I think if I knew which libraries to add to the gcc link, I could make this

Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-06 Thread John Velman
). Well, any further pointers will be highly appreciated. I'll have to sign off from this today, but hopefully will have more insights (from self and others) tomorrow. Best, John Velman On Tue, Oct 06, 2009 at 03:07:01PM -0400, Gregory Collins wrote: > John Velman writes: >

Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-07 Thread John Velman
how it works out! Best, John Velman On Tue, Oct 06, 2009 at 07:56:07PM -0400, Brandon S. Allbery KF8NH wrote: > On Oct 6, 2009, at 19:20 , John Velman wrote: >> HSghc-prim-0.1.0.0.o, HSinteger-0.1.0.1.o, libffi.a, libgmp.a, >> libHSbase-3.0.3.1.a, libHSbase-3.0.3.1_

[solved] Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-07 Thread John Velman
n the /Library/Frameworks/GHC.Framework//usr/lib folder. Then add lib-h-gmp.a to my Xcode project. Compiled, linked, and ran and got the right output. Thanks to everyone who helped. John V. On Wed, Oct 07, 2009 at 10:38:53AM -0700, John Velman wrote: > This is probably an Xcode problem now

Re: [solved] Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-08 Thread John Velman
On Thu, Oct 08, 2009 at 10:34:07AM +0200, Wouter Swierstra wrote: > > On 7 Oct 2009, at 23:39, John Velman wrote: > >> For anyone following this: The XCode ld script is complex, and has mac >> specific defaults early in the search path specification, and I probably >>

[Haskell-cafe] Cabal says "no installed version of base"

2009-10-21 Thread John Velman
I'm on OS X Leopard 10.5.8, using ghc 6.10.4 from Haskell Platform. I'm trying to get a static .a library, callable from C, that I can use in an OS X Cocoa program. I've tried a very simple case (the one in Haskell Wiki Tutorials,"calling haskell from C") I've managed to make a Mac Cocoa applicat

Re: [Haskell-cafe] Cabal says "no installed version of base"

2009-10-28 Thread John Velman
On Tue, Oct 27, 2009 at 09:28:39AM +, Duncan Coutts wrote: > On Wed, 2009-10-21 at 16:05 -0700, John Velman wrote: > > I'm on OS X Leopard 10.5.8, using ghc 6.10.4 from Haskell Platform. > > > > I'm trying to get a static .a library, callable from C, that

Re: [solved] Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

2009-10-29 Thread John Velman
07AM +0200, Wouter Swierstra wrote: > > On 7 Oct 2009, at 23:39, John Velman wrote: > >> For anyone following this: The XCode ld script is complex, and has mac >> specific defaults early in the search path specification, and I probably >> don't want to change these.

Re: [Haskell-cafe] Learning Haskell

2005-12-05 Thread John Velman
tcl/Tk. I also tried developing a little drawing program with GTK2HS, but its development was moving too fast for me. wxHaskell is also pretty active. Others may have better advice. 5. Oh, and my platform is Linux. I used to use Hugs on Windows a long time ago when my job required Windows. Happy

[Haskell-cafe] What is a Boxed Array?

2005-12-09 Thread John Velman
I've tried google and google scholar, wikipedia, and planetMath. Can't find a description. Can someone point me to a freely available reference? Thanks, John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.h

Re: [Haskell-cafe] What is a Boxed Array?

2005-12-09 Thread John Velman
Thanks, this is very helpful. John Velman On Fri, Dec 09, 2005 at 02:29:33PM -0500, Cale Gibbard wrote: > A "box" is a cell representing some value in a program. It generally > ... ___ Haskell-Cafe mailing list Haskell-Cafe@

[Haskell-cafe] executable scripts?

2004-10-22 Thread John Velman
k. Surely there is a way to do this! Thanks, John Velman ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] executable scripts?

2004-10-23 Thread John Velman
Thanks to all who answered! #!/usr/local/bin/runhugs does the trick. So much to read. Best, John Velman On Sat, Oct 23, 2004 at 03:38:18PM +0900, Koji Nakahara wrote: > On Fri, 22 Oct 2004 16:05:29 -0700 > John Velman <[EMAIL PROTECTED]> wrote: > > One of the nice thin

[Haskell-cafe] intToWord32

2004-10-28 Thread John Velman
#x27;m running on a Linux system, Slackware 9, 400Mhz pentium II, 128 mb memory. Any advice or references to documentation will be appreciated. (By the way -- I decided to try TclHaskell because it seemed to be the simplest way to get a graphical interface to an application going! Any advice

[Haskell-cafe] Examples using STRef

2004-11-02 Thread John Velman
I'd like examples that are not too complicated, but not too simple, either. :-) Thanks, John Velman ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] GUI

2004-12-29 Thread John Velman
e consuming. I hope to add some comments to the Wiki for other beginers when I get a little further along. Best, John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Information given by :info (Was: Some randomnewbie questions)

2005-01-11 Thread John Velman
the HUGS or GHCi console. It would be too large a project of me at the moment :-). SWI Prolog uses XPCE, which is distributed with SWI Prolog, for the GUI. Best, John Velman > >> > > > > Now _that_ would be truly useful. > > It's not perfect, but it's bet

Re: [Haskell-cafe] Building GUIs for Haskell programs

2005-01-11 Thread John Velman
with wxWindows, I am able to figure out how to do what I want to do, so far. So, based on my experience, I can recommend wxHaskell. Best regards, John Velman On Tue, Jan 11, 2005 at 09:05:43PM +0100, Dmitri Pissarenko wrote: > Hello! > > I want to learn to create GUIs with Haskell. >

Re: [Haskell-cafe] Problem with wxHaskell

2005-01-12 Thread John Velman
Your code works fine on Linux. :-) Oh, by the way, I compiled my wxHaskell with GHC 6.2.2 I note that the windows binary on the download site was compiled with GHC 6.2.1, and apparently these are not binary compatible with GHC 6.2.2. Best, John Velman On Wed, Jan 12, 2005 at 04:16:33PM

[Haskell-cafe] Question about instance

2005-01-13 Thread John Velman
ve tried the second version with a context in the instance declaration, but none of my attmepts work. The only one that worked was the one shown, with no context in the instance declaration. Needless to say (?), I've tried to understand this from reading in the Haskell 98 report, `Haskell school of Expression', and any place else I can think of, but I'm missing the point somewhere. Thanks, John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Question about instance

2005-01-13 Thread John Velman
standard practice for the type name and constructor names to be the same in, for example, Gentle Haskell, and Haskell School of Expression make it more difficult for the novice to see when each is used! Best, John Velman On Fri, Jan 14, 2005 at 01:49:57AM +0100, Andreas Marth wrote: > If you replace

Re: [Haskell-cafe] haskell platform questions

2010-03-18 Thread John Velman
I'm also on Mac Leopard. I tried installing ghc 6.12 with Haskell Platform 2009.2.9.2-i386.dmg (ghc 6.10.4) for some reason, and ran into a bunch of problems (problems to me, anyway). I ended up uninstalling 6.12 and reinstalling haskell platform. Uninstall is easy, there is an uninstaller scrip

Re: [Haskell-cafe] haskell platform questions

2010-03-25 Thread John Velman
I had the same problem -- downloaded and installed the new Haskell Platform, and when I tried cabal I got the: dyld error. I'm also on OS X 10.5.8. Also, ghc users guide appears to be missing. I filed a bug report. To solve the cabal problem I got cabal-install version 0.9.0 us

[Haskell-cafe] Haskell on iPad? (Scheme and Ocaml are there)

2011-06-18 Thread John Velman
r the iPad processor, taking out enough system calls to make it acceptable? John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell *interpreter* on iPad? (Scheme and Ocaml are there)

2011-06-18 Thread John Velman
r paste in) Haskell code and have it executed on the iPad. To reiterate: Something like Hugs, or ghci on the iPad. By the way, there are three Scheme interpreters in the iPad app store. In addition to the two I previously mentioned, there is iScheme. - John Velman On Sat, Jun 18, 2011 at 12:43:

Re: [Haskell-cafe] Haskell *interpreter* on iPad? (Scheme and Ocaml are there)

2011-06-18 Thread John Velman
7;t forsee doing production programming ON THE IPAD, but experimenting, testing some functions, and, by the way, learning Haskell. While I'm fantasizing, something like Hugs or ghci with SOE would really be neat. Sorry for shouting :-) John Velman > Well, Haskell is fun, isn't it? An

[Haskell-cafe] Installation Failed: Haskell Platform 2011.2.0.1-i386 for OS X

2011-06-27 Thread John Velman
he first installation two time, the second download one time. Same result all three times. Is this a problem with the package, or ? Any suggestions? Thanks, John Velman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe