Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-25 Thread Liyang HU
heathmatlock heathmatlock at gmail.com writes:
 Question: Do you want a mascot? 
 Yes

And we already have one: http://paraiso-lang.org/ikmsm/books/c80.html

/Liyang


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-25 Thread Ivan Lazar Miljenovic
On 25 November 2011 19:13, Liyang HU haskell@liyang.hu wrote:
 heathmatlock heathmatlock at gmail.com writes:
 Question: Do you want a mascot?
 Yes

 And we already have one: http://paraiso-lang.org/ikmsm/books/c80.html

Uh. W...T...F...???

Do I want to know what's going on there? :p

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-25 Thread Liyang HU
On 25 November 2011 17:28, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com 
wrote:
 And we already have one: http://paraiso-lang.org/ikmsm/books/c80.html
 Uh. W...T...F...???
 Do I want to know what's going on there? :p

It's called Reduce! λ Girl, a parody of Invade! Squid Girl.
http://en.wikipedia.org/wiki/Squid_Girl

The doujinshi itself comprises of several serious Haskell/FP articles, but with 
lots of puns thrown in. (So I am informed.)

/Liyang


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-25 Thread Daniel Fischer
On Friday 25 November 2011, 09:28:29, Ivan Lazar Miljenovic wrote:
 On 25 November 2011 19:13, Liyang HU haskell@liyang.hu wrote:
  heathmatlock heathmatlock at gmail.com writes:
  Question: Do you want a mascot?
  Yes
  
  And we already have one: http://paraiso-lang.org/ikmsm/books/c80.html
 
 Uh. W...T...F...???

Exactly my thoughts.

 
 Do I want to know what's going on there? :p

I don't think so.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] XML modification

2011-11-25 Thread Jon Fairbairn
Andrew Coppin andrewcop...@btinternet.com writes:

 On 23/11/2011 12:58 PM, Andrew Coppin wrote:
 On 23/11/2011 10:14 AM, Jon Fairbairn wrote:
 HaXml

 Mmm. That looks very promising...

 which gives some idea of the flavour.

 OK. So it looks like processXmlWith is the function I want, if I'm going
 to read one file and create another from it. So now I just need to
 figure out which combinators I need. (The documentation seems a bit
 thin.) Can you show me a snippet for how I would find [one] element
 named foo and change its bar attribute to have the value 5?

 Well, from what I've been able to gather, HaXml has a really
 nice filter combinator library. However...

 Weird thing #1: processXmlWith handles the common case of
 loading a file from disk, filtering it, and saving the
 result to disk again. However, it does this based on CLI
 arguments. There is no function anywhere that I can find
 which allows the host program to specify what files to
 process. If you want to do that, you have to reimplement
 most of the body of this function all over again yourself.
 That seems a strange omission.

 Weird thing #2: There are absolutely no filters for dealing
 with attributes. I couldn't find anything anywhere that says
 apply this function to all the attributes of this element.
 I can find a function to /replace/ an element's attributes
 without regard to what existed before. But even something as
 trivial as adding an additional attribute while keeping the
 existing ones doesn't appear to be supported at all.

 Fortunately it turns out to not be especially hard to read
 the source for the replace-attributes function and change it
 to do what I want. But, again, it seems a rather large and
 obvious ommission. (I'm guessing that since attributes are
 key/value pairs and not content, you would need a seperate
 attribute filter type, which is different from the
 existing content filters. Even so, it shouldn't be /that/
 hard to do...)

 Anyway, the important thing is, Haskell (and more
 specifically HaXml) let me accomplish the task I wanted
 without too much fuss. It's /certainly/ faster than editing
 80 files by hand in a text editor!

I think these observations should be addressed to Malcolm
Wallace.

-- 
Jón Fairbairn jon.fairba...@cl.cam.ac.uk



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Haskellers.com polls (specifically, the mascot question)

2011-11-25 Thread Michael Snoyman
Hi all,

I've just added the polls feature to Haskellers.com, and created an
initial poll about mascots[1]. Let me know if there are any issues.

Michael

PS: I've also added Google+ profile link support, just go to your edit
profile page and paste in the link.

[1] http://www.haskellers.com/poll/1

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskellers.com polls (specifically, the mascot question)

2011-11-25 Thread Michael Snoyman
For everyone emailing about email verification not working: it's fixed
now, the date on the server was incorrect, and therefore Amazon SES
was rejecting the request.

Side point: I'd recommend people start using BrowserID for login, it
automatically verifies your email address for you.

Michael

On Fri, Nov 25, 2011 at 12:01 PM, Michael Snoyman mich...@snoyman.com wrote:
 Hi all,

 I've just added the polls feature to Haskellers.com, and created an
 initial poll about mascots[1]. Let me know if there are any issues.

 Michael

 PS: I've also added Google+ profile link support, just go to your edit
 profile page and paste in the link.

 [1] http://www.haskellers.com/poll/1


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell Platform

2011-11-25 Thread Jeremy O'Donoghue
Hi Jerzy,

On 24 November 2011 15:57, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr
 wrote:

 B.
 Does anybody care about wxHaskell?


Actually there has been quite a bit of work on wxHaskell recently, although
most has not made it into the mainline yet. The archives of wxhaskell-users
and wxhaskell-devel (both at Sourceforge) contain the details, but a short
summary below:

Dave Tapley has done some great work on wxWidgets 2.9 support, getting us
into good shape for wxWidgets 3.0, which has a number of API changes over
the 2.8 series. This is a much larger undertaking than implied by this
short paragraph. Dave has put in some changes to reduce unnecessary
rebuilding of the codebase, and has been thinking of merging some work I
did in the area earlier this year.

Dave has also added support for the AUI, RichText, PropertyGrid and Ribbon
libraries, as well as reinstating STC support.

Maciek Makowski has contributed buildbot support to help us verify changes
on all of the supported platforms, and a number of Windows fixes.

Eric Kow has contributed a Haskell replacement for wx-config which works on
all platforms. This needs a little more work before it is ready for
prime-time, but it will help to make build much more robust. Eric has also
contributed a HOWTO for building using the wxPack project, which makes
building on Windows *much* easier, and will become the supported approach.

Another Eric contribution is that we have removed the last vestiges of
Eiffel from the codebase (wxHaskell originally built on a wxWidgets wrapper
for Eiffel - which is long since abandoned).

Eric and Alessandro Vermeulen have been working on support for 64bit OSX
images

I am working on reinstating OpenGL support, and will be merging some of the
new code back into the mainline which will continue to support wxWidgets
2.8. We want to retain wxWidgets 2.8 support until most of the common Linux
distros have moved to 2.9 or 3.0 in their binary repos (building wxWidgets
is not a trivial undertaking on any platform!).

In short, while there has not been much headline grabbing activity, we
actually have a lot going on, and I hope it will be ready for wider use in
the next month or two. This is mostly dependent on me getting my act
together as lead maintainer.

Best regards
Jeremy
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Current Haskell report URL

2011-11-25 Thread Twan van Laarhoven

On 23/11/11 23:02, Tom Murphy wrote:

  Is there a reason that the Haskell 2010 report is in a subdirectory of
haskell.org/onlinereport http://haskell.org/onlinereport (which
currently points to the Haskell98 standard)?

http://www.haskell.org/onlinereport/   -- Haskell98
http://www.haskell.org/onlinereport/haskell2010/   -- Haskell2010

If it's for historical reasons - because books etc. use this URL for the
98 standard, then I'd highly recommend making a new directory called
currentreport or something (if there isn't one already).


IMO, a book author should expect that an URL like 
http://www.haskell.org/onlinereport/ could change to point to a new 
version, since it doesn't mention a version number or date anywhere.


The most sensible directory structure would be:

  http://www.haskell.org/onlinereport/
  http://www.haskell.org/onlinereport/haskell98
  http://www.haskell.org/onlinereport/haskell2010

Where the onlinereport/index.html says something like:

  Latest version:
   * haskell2010
  Previous versions:
   * haskell98


Twan

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskellers.com polls (specifically, the mascot question)

2011-11-25 Thread heathmatlock
Posted on reddit. http://redd.it/mpb54

On Fri, Nov 25, 2011 at 6:02 AM, Michael Snoyman mich...@snoyman.comwrote:

 For everyone emailing about email verification not working: it's fixed
 now, the date on the server was incorrect, and therefore Amazon SES
 was rejecting the request.

 Side point: I'd recommend people start using BrowserID for login, it
 automatically verifies your email address for you.

 Michael

 On Fri, Nov 25, 2011 at 12:01 PM, Michael Snoyman mich...@snoyman.com
 wrote:
  Hi all,
 
  I've just added the polls feature to Haskellers.com, and created an
  initial poll about mascots[1]. Let me know if there are any issues.
 
  Michael
 
  PS: I've also added Google+ profile link support, just go to your edit
  profile page and paste in the link.
 
  [1] http://www.haskellers.com/poll/1
 

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




-- 
Heath Matlock
+1 256 274 4225
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Haskell Platform 64 bit

2011-11-25 Thread Philippe Sismondi
I just tried to install the Haskell Platform 64-bit on OS X Snow Leopard 
10.6.8. The install fails with an error. This is all I see in 
/var/log/install.log:

11-11-25 6:22:01 PM Installer[53992]The Installer encountered an 
error that caused the installation to fail. Contact the software manufacturer 
for assistance.

Is it known to be broken? I find something in haskell-cafe archives from last 
spring about a such a problem, but I don't know where to look for anything more 
recent. I may be blind, but I cannot see anything in the tickets under known 
problems.

I have been successfully running the 32-bit version for quite a while, but have 
begun to run into problems with linking haskell stuff against various 64-bit 
macports libraries.

- Phil -
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Partial statical linking

2011-11-25 Thread Jason Dusek
Some time ago, I wrote to this list about making shared
libraries with GHC, in such a way that the RTS was linked and
ready to go. Recently, I've been looking a similar but, in a
sense, opposite problem: linking Haskell executables with some
of their non-Haskell dependencies, for distribution.

I tried passing a few different sets of options to the linker
through GHC, with -optl:

  -optl'-Wl,-r'
  -optl'-Wl,-r,-dy'
  -optl'-Wl,-static,-lffi,-lgmp,-dy'

None of these had the desired effect. In the end, running GHC
with -v and carefully editing the linker line produced the
desired change (I have linked to and provided the diff below).

The effect -optl seems to be to introduce options in the linker
line just before -lHSrtsmain, which would seem to prevent one
from linking libffi and libgmp differently. Is editing and
storing away the linker script the best option at present for
partially static linking?

--
Jason Dusek
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments




https://github.com/solidsnack/arx/commit/90ec5efdb0e991344aa9a4ad29456d466e022c3e
#@@ -122,10 +122,8 @@
#   -lHSarray-0.3.0.2 \
#   -lHSbase-4.3.1.0 \
#   -lHSinteger-gmp-0.2.0.3 \
#-  -lgmp \
#   -lHSghc-prim-0.2.0.0 \
#   -lHSrts \
#-  -lffi \
#   -lm \
#   -lrt \
#   -ldl \
#@@ -136,4 +134,7 @@
#   -lgcc_s --no-as-needed \
#   /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtend.o \
#   /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crtn.o \
#+  -static \
#+  -lgmp \
#+  -lffi \

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe