Re: [Haskell-cafe] Data.List.Split

2008-12-15 Thread Neil Mitchell
Hi I should have said that, on the other hand, with stream fusion enabled, (concat . map) outperforms (concatMap) :) That can only be a bug in stream fusion - concatMap should always be prefered! Thanks Neil ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Thomas Davie
On 15 Dec 2008, at 03:27, Don Stewart wrote: Could you attach it to the web page, http://haskell.org/haskellwiki/Haskell_logos/New_logo_ideas I've stuck a contender up there too. Bob ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Problem with haddock 2.3.0 (again)

2008-12-15 Thread David Waern
2008/12/12 Sean Leather leat...@cs.uu.nl: On Fri, Dec 12, 2008 at 13:22, Thomas Schilling wrote: The fromJust error is a bug, of course, however, the underlying problem is a bit more difficult: Haddock doesn't generate any code, it only typechecks. If the code uses Template Haskell,

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Eelco Lempsink
On 15 dec 2008, at 03:31, Derek Elkins wrote: On Mon, 2008-12-15 at 02:57 +0100, Eelco Lempsink wrote: I'm not a graphic designer, but that doesn't prevent me giving a try. By the way, the font used (Kautiva) is not free. You might recognize it from Tupil's logo ;) Someone would pay for

Re: [Haskell-cafe] Problem with haddock 2.3.0 (again)

2008-12-15 Thread David Waern
2008/12/12 Duncan Coutts duncan.cou...@worc.ox.ac.uk: Let's see what David thinks. If he thinks is possible to fix these kinds of things where haddock is not covering the whole GHC AST (at least to the degree where it can ignore bits it does not understand). If that's not realistic in the

[Haskell-cafe] Re: [Haskell] Re: Help : A problem with IO

2008-12-15 Thread wman
you probably got it pointed out in haskell-beginners, but in case not: On Thu, Nov 27, 2008 at 7:10 PM, abdullah abdul Khadir abdullah.ak2...@gmail.com wrote: a) I need to put a do after else for more than one instruction (?) No, the do thingy is a syntactic sugar for chaining warm, fuzzy

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Martin DeMello
Something incorporating λ∀ perhaps martin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Multi-parameter type class woes

2008-12-15 Thread Thomas DuBuisson
2008/12/15 Mario Blazevic mblaze...@stilo.com Alexander Dunlap wrote: The problem is that y is not mentioned in the signature of wrapper. When you call wrapper x, there could be many different instances of Container x y with the same x, so GHC doesn't know which version to call.

Re: [Haskell-cafe] Multi-parameter type class woes

2008-12-15 Thread Thomas DuBuisson
On Mon, Dec 15, 2008 at 2:15 PM, Thomas DuBuisson thomas.dubuis...@gmail.com wrote: 2008/12/15 Mario Blazevic mblaze...@stilo.com Alexander Dunlap wrote: The problem is that y is not mentioned in the signature of wrapper. When you call wrapper x, there could be many different instances of

[Haskell-cafe] Re: Threads not running under GHC 6.10?

2008-12-15 Thread Simon Marlow
Gwern Branwen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 So, the Hint library was recently updated and I was editing Mueval to run with (i386) 6.10, when I discovered that for some reason, DoS'ing expressions were succeeding in rendering my machine unusable. Eventually, I discovered

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Henning Thielemann
On Sun, 14 Dec 2008, Don Stewart wrote: I noticed a new haskell logo idea on a tshirt today, http://image.spreadshirt.net/image-server/image/configuration/13215127/producttypecolor/2/type/png Simple, clean and *pure*. Instead of the we got lots going on of the current logo. Call me

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Gianfranco Alongi
Looks, good, actually among the top of the ones I like, should we not have some kind of voting mechanism for selecting a logo? And also some kind of last date for when entries are accepted.. Of course this requires a call for logos and so forth. 2008/12/15 Jeff Heard jefferson.r.he...@gmail.com:

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Thomas Schilling
So far this one is still the best, although the kerning between the s and the k seems off, so that would need fixing first. In terms of slogan purely functional, lazy with class, or lazy. pure. functional. look ok. The rest, not so much. 2008/12/14 Don Stewart d...@galois.com: I noticed a new

Re: [Haskell-cafe] Multi-parameter type class woes

2008-12-15 Thread Mario Blazevic
Alexander Dunlap wrote: On Sun, Dec 14, 2008 at 8:10 PM, Mario Blažević mblaze...@stilo.com wrote: I'll take a swing at this one: instance Container (Maybe x) [x] where wrapper = isNothing . . . That isn't a sensible definition of 'wrapper', but I believe without trying to compile it is

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Álvaro Vilanova Vidal
One more concept. attachment: haskell_infinitylambda_logo.svgattachment: haskell_infinitylambda.svgattachment: haskell_infinitylambda.png___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Don Stewart
And anyone who does a version, place put it on the wiki. It'll be lost if you only post to the list. I propose we gather submissions and vote on the best for a new logo in 2009. -- Don nominolo: So far this one is still the best, although the kerning between the s and the k seems off, so that

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Thomas Davie
On 15 Dec 2008, at 12:43, Henning Thielemann wrote: On Sun, 14 Dec 2008, Don Stewart wrote: I noticed a new haskell logo idea on a tshirt today, http://image.spreadshirt.net/image-server/image/configuration/13215127/producttypecolor/2/type/png Simple, clean and *pure*. Instead of the

Re: [Haskell-cafe] Missing comment highlighting in vim syntax script

2008-12-15 Thread Arthur van Leeuwen
On 14 dec 2008, at 19:04, Claus Reinke wrote: The Haskell syntax script for vim mentions this mailing list as the maintainer. Perhaps one of you could fix this bug. Comments on the same line as import declarations don't get highlighted: I don't know how this list-as-maintainer idea is

Re: [Haskell-cafe] Time for a new logo? - Haskell logo as a stamp!

2008-12-15 Thread Henning Thielemann
On Mon, 15 Dec 2008, Don Stewart wrote: And anyone who does a version, place put it on the wiki. It'll be lost if you only post to the list. I propose we gather submissions and vote on the best for a new logo in 2009. Whatever logo someone prefers: I have written a program using HPDF which

[Haskell-cafe] ICFP09 Call for Papers

2008-12-15 Thread Matthew Fluet (ICFP Publicity Chair)
Call for Papers ICFP 2009: International Conference on Functional Programming Edinburgh, Scotland, 31 August - 2 September 2009 http://www.cs.nott.ac.uk/~gmh/icfp09.html ** Submission deadline: 2 March 2009 **

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Brettschneider, Matthias
If there is someone interested in playing around with the logo Don posted, I made a gimp-version out of it. http://frosch03.de/haskell/Haskell.xcf http://frosch03.de/haskell/Haskell.png -- Matthias ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Don Stewart
Could you upload it to the logo contest page: http://haskell.org/haskellwiki/Haskell_logos/New_logo_ideas jefferson.r.heard: My entry... 2008/12/15 Martin DeMello martindeme...@gmail.com: Something incorporating λ∀ perhaps martin ___

[Haskell-cafe] haskell compiler never comes back

2008-12-15 Thread Greg Meredith
Haskellians, The simple-minded and smallish code sample at this linkhttp://paste.pocoo.org/show/95503/causes the compiler to go off into never-never land. Any clues would be greatly appreciated. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 806 55th St NE Seattle, WA

Re: [Haskell-cafe] Data.List.Split

2008-12-15 Thread George Pollard
On Mon, 2008-12-15 at 08:40 +, Neil Mitchell wrote: That can only be a bug in stream fusion - concatMap should always be prefered! Yes, but it is unclear from the article whether the concatMap (w/ stream fusion enabled) is Data.List.Stream's concatMap or the Prelude's concatMap. It's only a

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Andrew Coppin
Don Stewart wrote: I noticed a new haskell logo idea on a tshirt today, http://image.spreadshirt.net/image-server/image/configuration/13215127/producttypecolor/2/type/png Simple, clean and *pure*. Instead of the we got lots going on of the current logo. Any graphic designers want to

[Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread Greg Meredith
Haskellians, An even simpler version http://paste.pocoo.org/show/95518/ that reveals the issue. i'm astounded that the compiler literally just hangs. Best wishes, --greg On Mon, Dec 15, 2008 at 12:23 PM, Greg Meredith lgreg.mered...@biosimilarity.com wrote: Haskellians, The simple-minded

Re: [Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread Greg Meredith
George, Thanks for the response. If i take out the AllowUndecidableInstances i get no complaints and the compiler hangs. See thishttp://paste.pocoo.org/show/95523/. Thus, i can find no observable difference for this flag in this particular code sample. Best wishes, --greg On Mon, Dec 15, 2008

Re: [Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread Daniel Fischer
Am Montag, 15. Dezember 2008 23:16 schrieb Greg Meredith: Haskellians, An even simpler version http://paste.pocoo.org/show/95518/ that reveals the issue. i'm astounded that the compiler literally just hangs. Best wishes, --greg On Mon, Dec 15, 2008 at 12:23 PM, Greg Meredith

Re: [Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread Greg Meredith
Daniel, Thanks. i'm using GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude :l monoidal.hs [1 of 1] Compiling Monoidal ( monoidal.hs, interpreted ) C-c C-cInterrupted. :q Best wishes, --greg On Mon, Dec 15, 2008 at 2:50

Re: [Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread Greg Meredith
Daniel, BTW, if i comment out the version of PutIn that calls HF{L,R}Val and put in the unit, instead, i see the complaint you're seeing. i'll upgrade ghc. Best wishes, --greg On Mon, Dec 15, 2008 at 2:49 PM, Greg Meredith lgreg.mered...@biosimilarity.com wrote: Daniel, Thanks. i'm using

RE: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Michael Giagnocavo
Don Stewart wrote: I noticed a new haskell logo idea on a tshirt today, http://image.spreadshirt.net/image-server/image/configuration/13215127/producttypecolor/2/type/png Simple, clean and *pure*. While lambda in a circle is quite powerful, it's also quite similar to the logo for the

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Don Stewart
mgg: Don Stewart wrote: I noticed a new haskell logo idea on a tshirt today, http://image.spreadshirt.net/image-server/image/configuration/13215127/producttypecolor/2/type/png Simple, clean and *pure*. While lambda in a circle is quite powerful, it's also quite similar to

Re: [Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread Daniel Fischer
Am Montag, 15. Dezember 2008 23:49 schrieb Greg Meredith: Daniel, Thanks. i'm using GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Indeed, 6.8.2 hangs here, too. Loading package base ... linking ... done. Prelude :l monoidal.hs [1 of 1] Compiling Monoidal (

[Haskell-cafe] How to think about this? (profiling)

2008-12-15 Thread Magnus Therning
This behaviour by Haskell seems to go against my intuition, I'm sure I just need an update of my intuition ;-) I wanted to improve on the following little example code: foo :: Int - Int foo 0 = 0 foo 1 = 1 foo 2 = 2 foo n = foo (n - 1) + foo (n - 2) + foo (n - 3) This is obviously

Re: [Haskell-cafe] Re: haskell compiler never comes back

2008-12-15 Thread George Pollard
So I retract that email ;) signature.asc Description: This is a digitally signed message part ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Sterling Clover
Alvaro's infinity lambda is awesome! The fancy treatments -- shadows, reflections, and the funny haskell font can all go, but the infinity lambda is distinctive, conceptually clear, and conveys the notion that we're not just the lambda calculus, but the lambda calculus to the power of our type

Re: [Haskell-cafe] How to think about this? (profiling)

2008-12-15 Thread Lemmih
2008/12/16 Magnus Therning mag...@therning.org: This behaviour by Haskell seems to go against my intuition, I'm sure I just need an update of my intuition ;-) I wanted to improve on the following little example code: foo :: Int - Int foo 0 = 0 foo 1 = 1 foo 2 = 2 foo n = foo (n - 1)

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Derek Elkins
On Mon, 2008-12-15 at 18:25 -0500, Sterling Clover wrote: Alvaro's infinity lambda is awesome! The fancy treatments -- shadows, reflections, and the funny haskell font can all go, but the infinity lambda is distinctive, conceptually clear, and conveys the notion that we're not just the lambda

Re: [Haskell-cafe] Time for a new logo?

2008-12-15 Thread Isaac Dupree
okay, I want a t-shirt like this (but with all the greek letters and formatting) back: \t. 2^-t kg is equally[or: sometimes] bothered by math front: \gbtq is [sometimes] bothered by acronyms :-) or, sometimes likes each of them :-) -Isaac ___

Re: [Haskell-cafe] Multi-parameter type class woes

2008-12-15 Thread Alexander Dunlap
2008/12/15 Mario Blazevic mblaze...@stilo.com: Alexander Dunlap wrote: On Sun, Dec 14, 2008 at 8:10 PM, Mario Blažević mblaze...@stilo.com wrote: I'll take a swing at this one: instance Container (Maybe x) [x] where wrapper = isNothing . . . That isn't a sensible definition of

[Haskell-cafe] Minimal complete definitions

2008-12-15 Thread George Pollard
Good afternoon Café, I've written a little bit of code to calculate minimal complete definitions for a class given which of its functions use which other functions. As an example: doDependencies ord = ([],[[=],[compare]]) doDependencies num =

Re: [Haskell-cafe] Minimal complete definitions

2008-12-15 Thread George Pollard
Code might help :P import qualified Data.Set as Set import Data.Set (Set) import Data.List (partition,delete) import Data.Maybe (isJust,fromJust) -- A snippet for working out minimal complete definitions. num = [ (plus,Nothing), (times,Nothing), (abs,Nothing), (minus,Just [negate]),

Re: [Haskell-cafe] Minimal complete definitions

2008-12-15 Thread George Pollard
Sorry about the triple-post, but I forgot to note it only goes to one 'depth' of OR; in reality the MCD for wrongOrd should be ( OR ((=) AND (compare OR )) OR compare). This requires a slightly more complicated type than [[a]] :) signature.asc Description: This is a digitally signed message part

Re: [Haskell-cafe] Multi-parameter type class woes

2008-12-15 Thread Mario Blažević
I think that http://www.haskell.org/pipermail/haskell-cafe/2008-April/041461.html may be relevant. It's a design decision. Thanks for the link. I've read through the thread, but rather than try to figure out if it's the same issue and whether it's a design decision or a historical