Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-06 Thread David Virebayre
On Sat, Aug 7, 2010 at 7:54 AM, Magnus Therning wrote: > Wouldn't the docs be unusable if it were in French even if > Haddock handled unicode characters correctly? Joke aside, for software to be released, a French documentation indeed wouldn't be of much use. The langage of technology and scienc

Re: [Haskell-cafe] finding out which gcc is hard-coded into a ghc?

2010-08-06 Thread Ivan Lazar Miljenovic
Günther Schmidt writes: > how can I find out which gcc a ghc is hard-coded to use and is it > possible to override it? At least in Linux as of 6.12.2, the /usr/bin/ghc wrapper script has a link to it. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-06 Thread Magnus Therning
On Sat, Aug 7, 2010 at 01:00, David Virebayre wrote: > I prefer the new look. > > That being said, I'd rather like haddock handling unicode characters > in comments, at the moment it's unusable if I want to write comments > in French. Wouldn't the docs be unusable if it were in French even if Had

Re: [Haskell-cafe] Re: Haskell in Industry

2010-08-06 Thread briand
On Thu, 5 Aug 2010 21:58:15 -0500 Tom Hawkins wrote: > Good, we need more functional programmers actually solving real > problems. But please put your skills to work in an industry other > than investment banking. +1000 ___ Haskell-Cafe mailing list H

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-06 Thread David Virebayre
I prefer the new look. That being said, I'd rather like haddock handling unicode characters in comments, at the moment it's unusable if I want to write comments in French. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mail

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Sean Leather
> Simon cat and Oleg cat are also missing, unfortunately. > > Also the 'catamorphism' picture with the banana peel (there may be others I > can't recall, too). > Well, I found what I could... http://spl.smugmug.com/Humor/Lambdacats/13227630_eKt46#960831913_rhDdG http://spl.smugmug.com/Humor/L

[Haskell-cafe] Haddock New Look Survey results

2010-08-06 Thread Mark Lentczner
Thank you to all who took the Haddock New Look Survey. We got a 161 responses. Some graphs of the results can be found here: http://www.ozonehouse.com/mark/snap-xhtml/Haddock-Survey-Summary.pdf I've read through all of the comments, and I'd like to share some initial thoughts with you: • S

[Haskell-cafe] Re: using Network.CGI

2010-08-06 Thread Anders Kaseorg
On Fri, 6 Aug 2010, Andrew U. Frank wrote: > i think this limits what network.cgi can be used for: it will work only > on systems, where the output from the ghc can execute. That’s not a limitation of Network.CGI; it’s just the way CGI always works, no matter what language you use. http://en.wik

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Andrew Coppin
Henning Thielemann wrote: I remember the first lambdacat said something like "why can't u curry this funkshun". I don't see it in this list. :-( Actually, I believe it said "why u not curry that funkshun?!" In other news, I probably need to get a life... __

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread Stephen Tetley
On 6 August 2010 20:47, David Sankel wrote: > There have been some clever things done with monads aside from #1 and #2. > Parsec is one, but it seems applicative functors are a better match for the > parsing domain. Monadic bind is very, very handy for parsing, giving you context sensitive parsi

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread Gregory Crosswhite
It might be a little late at this point, but here's my take on monads: In most imperative languages sequencing of statements is a feature that is hard-coded into the language to act in a certain way, e.g. to have a particular implicit state (the global state plus possibly the fields available fro

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread David Sankel
On Fri, Aug 6, 2010 at 11:17 AM, aditya siram wrote: > I'm still a little iffy on why the monad concept isn't used in other > languages. The greatest feat that monads have accomplished, in my opinion, is providing the right mathematical abstraction for declaring side-effect and stateful computat

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread Jonathan Geddes
On Fri, Aug 6, 2010 at 9:17 AM, aditya siram wrote: > > Upon further reflection I realized that my audience is more pragmatic than > theoretical. Instead of emphasizing how monads are constructed and the monad > laws I think I want to dive right into the most common and useful monads. > From my

Re: [Haskell-cafe] finding out which gcc is hard-coded into a ghc?

2010-08-06 Thread Gaius Hammond
On 6 Aug 2010, at 18:05, Günther Schmidt wrote: Hello, how can I find out which gcc a ghc is hard-coded to use and is it possible to override it? See this page: http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/options-phases.html Cheers, G __

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Dan Doel
> I remember the first lambdacat said something like "why can't u curry > this funkshun". I don't see it in this list. :-( Simon cat and Oleg cat are also missing, unfortunately. Also the 'catamorphism' picture with the banana peel (there may be others I can't recall, too). _

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread John Van Enk
I apologize if I missed any. :( On Fri, Aug 6, 2010 at 3:03 PM, Henning Thielemann < schlepp...@henning-thielemann.de> wrote: > Sean Leather schrieb: > > > > On Fri, Aug 6, 2010 at 12:12 AM, Tony Morris wrote: > > > > Hello, does anyone happen to have the lambdacats page cached? > >

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Henning Thielemann
Sean Leather schrieb: > > On Fri, Aug 6, 2010 at 12:12 AM, Tony Morris wrote: > > Hello, does anyone happen to have the lambdacats page cached? > The domain (arcanux.org ) and server have > disappeared and the wayback machine doesn't have the images

[Haskell-cafe] Does Hackage have a connection to some SFT package (Significant FFT coefficients) ...

2010-08-06 Thread caseyh
Does Hackage have a connection to some SFT package (Significant FFT coefficients) and/or can one get the SFT from FFTW without generating all the coefficients? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/li

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Andrew Coppin
Sean Leather wrote: On Fri, Aug 6, 2010 at 12:12 AM, Tony Morris wrote: Hello, does anyone happen to have the lambdacats page cached? The domain (arcanux.org ) and server have disappeared and the wayback machine doesn't have the images. On Fri,

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-06 Thread Dino Morelli
On Fri, 6 Aug 2010, Ben Millwood wrote: On Thu, Aug 5, 2010 at 2:35 PM, Dino Morelli wrote: One thing I haven't seen anyone else comment on is the width of the new docs. I have a large (26") monitor and use the browser full-screen (with xmonad, so even more screen space). When I load these pa

Re: [Haskell-cafe] finding out which gcc is hard-coded into a ghc?

2010-08-06 Thread John Van Enk
If you're on Windows, I believe you can find the gcc.exe at the following location: C:\Program Files\Haskell Platform\2009.2.0.2\gcc.exe See this link for how to pick which C compiler to use: http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/options-phases.html#replacing-phases 2010/8/6 G

[Haskell-cafe] finding out which gcc is hard-coded into a ghc?

2010-08-06 Thread Günther Schmidt
Hello, how can I find out which gcc a ghc is hard-coded to use and is it possible to override it? Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Sean Leather
> On Fri, Aug 6, 2010 at 12:12 AM, Tony Morris wrote: > >> Hello, does anyone happen to have the lambdacats page cached? The domain ( >> arcanux.org) and server have disappeared and the wayback machine doesn't >> have the images. >> > On Fri, Aug 6, 2010 at 18:43, John Van Enk wrote: > I happened

Re: [Haskell-cafe] real-time audio processing [Was: can Haskell do everyting as we want?]

2010-08-06 Thread John Van Enk
It's not an EDSL (though I'm a huge fan of the concept) because we wan't to pitch the language to programmers who currently use C/Ada. As much as I love EDSL's, they are particularly hard to sell to entrenched engineers without substantial effort or mandate. Dangling a few neat features on top of

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread John Van Enk
I happened to download them all (i think all) a while ago to torment my coworkers: http://sw17ch.com/dump/lambdacats.zip Enjoy. On Fri, Aug 6, 2010 at 12:12 AM, Tony Morris wrote: > Hello, does anyone happen to have the lambdacats page cached? The domain ( > arcanux.org) and server have disapp

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread Stephen Tetley
At version 2 Parsec was an amalgamation of a state and error monad - by amalgamation I mean the data types and Monad instance encoded the combination directly, it wasn't made from transformers. Version 3 of Parsec complicates things a quite a bit. If you're addressing Perl programmers, you could t

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread Alex Stangl
On Fri, Aug 06, 2010 at 10:17:26AM -0500, aditya siram wrote: > >From my vantage point they are (in no particular order) : Reader, Writer, > State, IO, ST, STM, Parsec (have I missed any?) and of course the > transformer versions. I am debating whether or not to add [] to the bunch. Not sure how m

Re: [Haskell-cafe] real-time audio processing [Was: can Haskell do everyting as we want?]

2010-08-06 Thread C K Kashyap
Hey John, The language you are working on - is it a EDSL in Haskell? If not, had you considered such an option? On Thu, Aug 5, 2010 at 8:11 PM, Job Vranish wrote: > Yeah Atom is pretty slick, though unfortunately it's not quite powerful > enough for much of the stuff that we do. > > John Van Enk

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-06 Thread Daniel Peebles
Another interesting direction would be to use Matt Morrow's vaccum infrastructure to make a neat, almost completely general, serialization mechanism. It's not safe, and can traverse any value that doesn't contain functions or unevaluated thunks, but would be very helpful for sending values like `c

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread aditya siram
Thanks all for you suggestions! Upon further reflection I realized that my audience is more pragmatic than theoretical. Instead of emphasizing how monads are constructed and the monad laws I think I want to dive right into the most common and useful monads. >From my vantage point they are (in no pa

Re: [Haskell-cafe] Question about rpc design

2010-08-06 Thread Vladimir Zlatanov
> Is this way of sending messages already known? Does it have a name? And if > not, how hard do you think it would be to hack some rpc library to implement > this? I think you are describing telescopic routing. Of sorts. The easiest way to achieve your goal is by making the communications asynchr

Re: [Haskell-cafe] Wildly off-topic: de Boor's algorithm

2010-08-06 Thread Andrew Coppin
mo...@deepbondi.net wrote: How embarrassing, I managed to get this simple math wrong. That's what I get for trying to think in the morning without either my notes or my coffee, I suppose. I _said_ it was tricky, didn't I? ;-) ___ Haskell-Cafe mailin

Re: [Haskell-cafe] Wildly off-topic: de Boor's algorithm

2010-08-06 Thread mokus
mo...@deepbondi.net wrote: > It took me a while to get the intuition right on those, but here's a quick > sketch. Let n = number of control points, m = number of knots, and p = > degree. For p = 0 (constant segments), each control point corresponds to > one span of the knot vector, so n = m - 1.

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-06 Thread Ben Millwood
On Thu, Aug 5, 2010 at 2:35 PM, Dino Morelli wrote: > > One thing I haven't seen anyone else comment on is the width of the new > docs. I have a large (26") monitor and use the browser full-screen (with > xmonad, so even more screen space). When I load these pages, particularly > the non-frame one

Re: [Haskell-cafe] Wildly off-topic: de Boor's algorithm

2010-08-06 Thread James Andrew Cook
On Aug 5, 2010, at 4:31 PM, Andrew Coppin wrote: > mo...@deepbondi.net wrote: >> Andrew Coppin wrote: >> >>> Given a suitable definition for Vector2 (i.e., a 2D vector with the >>> appropriate classes), it is delightfully trivial to implement de >>> Casteljau's algorithm: >>> >>> de_Casteljau :

[Haskell-cafe] Question about rpc design

2010-08-06 Thread lysgaard
Hi, I'm tinkering with making a DHT im my spare time this summer. For this i need to do some unusual rpc calls. You see in a dht a query (rpc) is first sent from you (node "a") to a node "b" which probably doesn't know the answer. If it still does know the answer it returns the value of the query

Re: [Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-06 Thread Michael Snoyman
On Fri, Aug 6, 2010 at 12:28 PM, Benedict Eastaugh wrote: > On 6 August 2010 09:19, Michael Snoyman wrote: > > > After looking into sass a little bit, I've decided I like it ;). I see > the > > following benefits of implementing something sass-like in Haskell via > > quasi-quotation: > > > > * Co

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-06 Thread Frank Kupke
Am 04.08.2010 um 23:16 schrieb Andrew Coppin: > Frank Kupke wrote: >> Andrew, >> >> Thanks for pointing your finger at it >> Am 04.08.2010 um 17:48 schrieb Andrew Coppin: >> >>> In that case, is there a way to determine whether or not the rest of the >>> transaction completed? Because it look

Re: [Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-06 Thread Benedict Eastaugh
On 6 August 2010 09:19, Michael Snoyman wrote: > After looking into sass a little bit, I've decided I like it ;). I see the > following benefits of implementing something sass-like in Haskell via > quasi-quotation: > > * Compile-time guarantee of well-formedness. > * The speed benefits of blaze-b

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-06 Thread Frank Kupke
Paul, Yes, I use Read and Show to serialize. I thought of switching to Binary myself but could not find the time yet ;-) Now, a student here is going to work on that. Also, as TCP communication involves a lot of overhead, the library makes some efforts to reduce the amount of messages and makes

Re: [Haskell-cafe] what's the best environment for haskell work?

2010-08-06 Thread Claus Reinke
For another programs (that compile fine with ghc --make), I didn't bother making the package. But I had to find out the package dependencies by building, checking where it fails, and trying to add a package to the dependency list. Maybe there's a better way, didn't find it. We do plan to fix thi

Re: [Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-06 Thread Michael Snoyman
On Thu, Aug 5, 2010 at 3:41 PM, Tim Matthews wrote: > On Thu, Aug 5, 2010 at 11:33 PM, Mark Bradley wrote: > > but CSS type checking might be possible within hamlet. >> > > I have often wondered "OK haml implemented now what about sass". Michael > Snoyman what is your opinions on sass? Would a sas

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Hans Aberg
On 6 Aug 2010, at 09:48, Andrew Coppin wrote: Hello, does anyone happen to have the lambdacats page cached? The domain (arcanux.org ) and server have disappeared and the wayback machine doesn't have the images. Somebody else noticed, eh? Good thing I grabbed most of the

[Haskell-cafe] Re: using Network.CGI

2010-08-06 Thread Andrew U. Frank
dear anders indeed, the example on your page works perfectly and mine now too! i did misunderstand something basic on how to use network.cgi. my wrong approach: 1. i copied the program from the web page (commented out the getinput:: line, which seems to be in error). 2. i run it with runghc and p

Re: [Haskell-cafe] lambdacats

2010-08-06 Thread Andrew Coppin
Tony Morris wrote: Hello, does anyone happen to have the lambdacats page cached? The domain (arcanux.org ) and server have disappeared and the wayback machine doesn't have the images. Somebody else noticed, eh? Good thing I grabbed most of the actually amusing images befor

Re: [Haskell-cafe] what's the best environment for haskell work?

2010-08-06 Thread Hamish Mackenzie
On 6 Aug 2010, at 19:33, David Virebayre wrote: > Continuing on my Euler.hs example, I then created the cabal package > with your script. Added the package, then tried to build. > > ../Euler.hs:1:0: >Failed to load interface for `Prelude': > It is a member of the hidden package `base'. >

Re: [Haskell-cafe] what's the best environment for haskell work?

2010-08-06 Thread David Virebayre
On Fri, Aug 6, 2010 at 6:11 AM, Hamish Mackenzie wrote: > On 5 Aug 2010, at 21:12, David Virebayre wrote: > Can you try out this... > > ~/haskell/test$ cat ~/bin/cabal_quick_init > #!/bin/sh > > SOURCE_FILE=$1 > CABAL_NAME=`basename -s .lhs $SOURCE_FILE` > CABAL_NAME=`basename -s .hs $CABAL_NAME

Re: [Haskell-cafe] subversion with haskell

2010-08-06 Thread Yuras Shumovich
Hi, Try the next: % env EXTRA_CPPFLAGS="-I/usr/local/include/subversion-1" \ EXTRA_LDFLAGS="-L/usr/local/lib" \ runhaskell Setup.hs configure % runhaskell Setup.hs build % runhaskell Setup.hs install (and read the installation instructions included into the tarball