So... Does it mean that you LIKE programming in XCode, even when
using Haskell? Wow.
I don't understand what you mean? What I meant is that I never use
XCode, and therefore I don't know which projects to choose or how to
use it, and it would take a lot of time to change that.
Just wonderi
On Thu, Oct 29, 2009 at 6:54 PM, Magicloud Magiclouds
wrote:
> My concern here is about the data member inheriting. In OOP, when I
> inherit a class, I also got the members of it. But in haskell, how to
> inherit a "data"?
In my experience (almost entirely with Java), it is usually a bad idea
to
Hi,
I think when people talk about OOP, especially the inheriting, their
focus mainly is on functions (methods).
My concern here is about the data member inheriting. In OOP, when I
inherit a class, I also got the members of it. But in haskell, how to
inherit a "data"?
--
竹密岂妨流水过
山高哪阻野云飞
__
It's taken 21 days with interruptions, but I finally posted a tutorial with
details of what I did on the Haskel Wiki. Category:Tutorials,
title: Using Haskell in an Xcode Cocoa project
Hope it's clear. Please send comments and suggestions.
John V.
On Thu, Oct 08, 2009 at 10:34:07AM +0200, Wou
On Oct 29, 2009, at 1:00 PM, Iain Barnett wrote:
On 29 Oct 2009, at 15:41, Gregory Crosswhite wrote:
You don't have to turn a program into an application in order to
make the GUI work
This is true, but I don't think it's better to import extra code
where simple packaging (folders and a p
On 29 Oct 2009, at 20:52, Miguel Mitrofanov wrote:
Open up XCode and there are a lot of different types of projects
to choose from, and then you have to know how to use the IDE. This
is just a quick project set up for anything you want to do that is
straightforward.
So... Does it mean t
Hi Iain,
I'm taking the liberty of cc'ing wxhaskell-users.
Iain said:
> I was trying to go through some of the wxHaskell examples, and they
> wouldn't work on my (Tiger) mac. Same thing happened with a few other
> wx apps I downloaded from Hackage. A bit of a rummage on the internet
> turne
>> I would like to know whether there is a good way to marshal the
>> following structure to C without using pointer arithmetic done
>> by a programmer (as opposed to a tool).
Here is an example with poke. It's completely useless, except for
demonstration :) You have a global variable in C that r
Isn't that what macosx-app is for?
Maybe, but it's no use if no one knows about it, and I just googled
it and found this (and only this).
http://darcs.haskell.org/wxhaskell/bin/macosx-app-template
It's not in the documentation that came with my download of wxcore
either. Hardly a great
Thanks Tim! I got it! I have never declared a function before in a let ...
in statement, I always do it in a where after I call it...
On Fri, Oct 30, 2009 at 3:03 PM, Tim Wawrzynczak wrote:
> Hector,
>
> That line is declaring a function named 'f' of two arguments: one is 'w',
> and the other is
On 29 Oct 2009, at 15:41, Gregory Crosswhite wrote:
You don't have to turn a program into an application in order to
make the GUI work
This is true, but I don't think it's better to import extra code
where simple packaging (folders and a plist), which is actually very
convenient, can do
Hector,
That line is declaring a function named 'f' of two arguments: one is 'w',
and the other is a tuple. The tuple's fst is 'inputs', and its snd is
'expected.' This function (f) is used in the next line, in the declaration
of the list 'newWeights,' which uses f as the function which does the
Hi cafe,
I'm trying to implement a Perceptron in Haskell and I found one in:
http://jpmoresmau.blogspot.com/2007/05/perceptron-in-haskell.html (Thanks JP
Moresmau) but there is one line I don't understand, I was wondering if
someone could explain it to me. I know the theory behind a perceptron, my
Simon Peyton-Jones wrote:
> Would someone like to make a Haskell wiki page explaining all this?
> Very helpful for people using wx for the first time. Maybe there is
> one already?
The enableGUI thing is mentioned here:
http://www.haskell.org/haskellwiki/WxHaskell/MacOS_X
Not that easy to f
On Thu, Oct 29, 2009 at 3:45 AM, Robin Green wrote:
> This is not in any way specific to Haskell, but I know a number of
> packages on Hackage have executables with command-line options, so:
>
> The non-Haskell program get_iplayer has an excellent idea for
> command-line options parsing. Rather th
I would like to know whether there is a good way to marshal the
following structure to C without using pointer arithmetic done
by a programmer (as opposed to a tool).
typedef struct{
double a[10];
double b[10];
double b[10];
} foo;
With my my 'bindings-common' package it's done like
Would someone like to make a Haskell wiki page explaining all this? Very
helpful for people using wx for the first time. Maybe there is one already?
Simon
| -Original Message-
| From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On
| Behalf Of Gregory Cro
You don't have to turn a program into an application in order to make
the GUI work, you just have to make some calls to enable GUI events to
be delivered to your program (or something like that, at least). I've
attached a script that I got from somewhere on the internet (can't
remember exa
Isn't that what macosx-app is for?
Iain Barnett wrote:
I was trying to go through some of the wxHaskell examples, and they
wouldn't work on my (Tiger) mac. Same thing happened with a few other wx
apps I downloaded from Hackage. A bit of a rummage on the internet
turned up an issue with wxMac[1
I was trying to go through some of the wxHaskell examples, and they
wouldn't work on my (Tiger) mac. Same thing happened with a few other
wx apps I downloaded from Hackage. A bit of a rummage on the internet
turned up an issue with wxMac[1]. You need to put the haskell
executable in an OSX
Ok, thanks - done. I also fixed the gun problem thanks to Henk-Jan van Tuyl.
On Thu, Oct 29, 2009 at 11:52 AM, Malcolm Wallace <
malcolm.wall...@cs.york.ac.uk> wrote:
> So here's the resulting package tree. If anyone knows how to turn it into a
>> darcs working copy and create a patch from it, pl
L.S.,
I have updated and cabalized Daan Löffler's GeBoP and uploaded it to
Hackage.
GeBoP, the General Boardgames Player, offers a set of board games: Ataxx,
Bamp, Halma, Hez, Kram, Nim, Reversi, TicTacToe, and Zenix. The
application also features a brain viewer which enables you to expl
Hi,
I would like to know whether there is a good way to marshal the following
structure to C without using pointer arithmetic done by a programmer (as opposed
to a tool).
typedef struct{
double a[10];
double b[10];
double b[10];
} foo;
I don't need this functionality,
So here's the resulting package tree. If anyone knows how to turn it
into a darcs working copy and create a patch from it, please do!
It's easy (and I recommend you do it yourself).
* darcs get http://...blah/blah/foo
* cp -R /my/hacked/copy/of/foo/* foo
* cd foo
* darcs record
* dar
On Wed, 28 Oct 2009 23:12:00 +0100, Phil Jones
wrote:
I've hacked through (senselessly) the various compilation errors (I think
they were all related to GLfloat vs. Float, etc.)
Frag now compiles and works, but I think I may have introduced some bugs
(the weapon doesn't appear on the screen?
This is not in any way specific to Haskell, but I know a number of
packages on Hackage have executables with command-line options, so:
The non-Haskell program get_iplayer has an excellent idea for
command-line options parsing. Rather than having to remember two
separate syntaxes, one for command l
26 matches
Mail list logo