Re: [Haskell-cafe] First time haskell - parse error!

2010-03-09 Thread Deniz Dogan
score [s] [g] = if valid 4 g then (s1 ++ s2 ++ s3 ++ s4) else Bad Guess where s1 = Golds s2 = show (gold s g) s3 = , Silvers s4 = show (silver s g) -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] how to write a function to send a string to a tuple

2010-03-08 Thread Deniz Dogan
: no parse -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Quick, somebody do something!

2010-01-14 Thread Deniz Dogan
, Henk-Jan van Tuyl So then we lived up to Peyton-Jones' Haskell slogan: avoid success at all costs. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Why?

2009-12-10 Thread Deniz Dogan
. -- Sebastian Sylvan +1 This unpredictability has bit me a few times when using LINQ (which is awesome and has lazy evaluation) with C#. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-09 Thread Deniz Dogan
2009/12/9 Maciej Piechotka uzytkown...@gmail.com: On Tue, 2009-12-08 at 10:56 +0100, Deniz Dogan wrote: Has there been any serious suggestion or attempt to change the syntax of Haskell to allow hyphens in identifiers, much like in Lisp languages? E.g. hello-world would be a valid function name

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-09 Thread Deniz Dogan
...] Here is such a preprocessor.  This is meant for people to try out. I don't claim that it's perfect, it's just a quick hack. Is there any flag I can pass to e.g. GHC to make it use the preprocessor automagically or do I write my own little hack to apply the preprocessor? -- Deniz Dogan

[Haskell-cafe] Allowing hyphens in identifiers

2009-12-08 Thread Deniz Dogan
Has there been any serious suggestion or attempt to change the syntax of Haskell to allow hyphens in identifiers, much like in Lisp languages? E.g. hello-world would be a valid function name. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-08 Thread Deniz Dogan
2009/12/8 Jon Fairbairn jon.fairba...@cl.cam.ac.uk: Deniz Dogan deniz.a.m.do...@gmail.com writes: Has there been any serious suggestion or attempt to change the syntax of Haskell to allow hyphens in identifiers, much like in Lisp languages? E.g. hello-world would be a valid function name. I

Re: [Haskell-cafe] The Haskell Web News: December 2009 Edition

2009-12-07 Thread Deniz Dogan
work for me. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] The Haskell Web News: December 2009 Edition

2009-12-07 Thread Deniz Dogan
2009/12/7 Tom Tobin korp...@korpios.com: On Mon, Dec 7, 2009 at 11:25 AM, Deniz Dogan deniz.a.m.do...@gmail.com wrote: 2009/12/7 Don Stewart d...@galois.com: The Haskell Web News is a monthly summary of the hottest news about the Haskell programming language, as found in our online

Re: [Haskell-cafe] Wikipedia article

2009-12-05 Thread Deniz Dogan
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe Could someone please do something about the horrible syntax highlighting for strings in the Wikipedia article? Black on dark green, really? -- Deniz Dogan

Re: [Haskell-cafe] Wiki software?

2009-11-18 Thread Deniz Dogan
@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe Not what you were looking for, but org-mode in Emacs is great for organizing stuff. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] About xmonad

2009-11-16 Thread Deniz Dogan
: http://www.haskell.org/mailman/listinfo/xmonad -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: acme-dont

2009-11-09 Thread Deniz Dogan
/mailman/listinfo/haskell-cafe Are you sure you want to license this as BSD? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Is () a 0-length tuple?

2009-11-08 Thread Deniz Dogan
be fine. What point are you trying to make by distinguishing JSON from JavaScript? JSON is a subset of JavaScript, they share the same type system. Null can be only one value. This doesn't make sense to me, since as you say null is not a type, but a value. -- Deniz Dogan

Re: [Haskell-cafe] Is () a 0-length tuple?

2009-11-08 Thread Deniz Dogan
2009/11/8 Matthew Gruen wikigraceno...@gmail.com: On Sun, Nov 8, 2009 at 6:21 AM, Deniz Dogan deniz.a.m.do...@gmail.com wrote: What point are you trying to make by distinguishing JSON from JavaScript? JSON is a subset of JavaScript, they share the same type system. Null can be only one value

Re: [Haskell-cafe] What's the deal with Clean?

2009-11-05 Thread Deniz Dogan
, not other software developers. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Master's thesis topic sought

2009-11-05 Thread Deniz Dogan
2009/11/5 Andrew Coppin andrewcop...@btinternet.com: Matus Tejiscak wrote: zygohistomorphic prepromorphisms Please tell me this isn't a real technical term. o_O http://www.haskell.org/haskellwiki/Zygohistomorphic_prepromorphisms Still can't tell if it's a joke or not... -- Deniz Dogan

Re: [Haskell-cafe] Master's thesis topic sought

2009-11-05 Thread Deniz Dogan
2009/11/6 Erik de Castro Lopo mle...@mega-nerd.com: Stefan Holdermans wrote:    http://people.cs.uu.nl/stefan/pubs/hage08heap.html Getting connection refused on that. Try this one, from Google's cache: http://preview.tinyurl.com/ydjuw2j -- Deniz Dogan

Re: [Haskell-cafe] Master's thesis topic sought

2009-11-05 Thread Deniz Dogan
2009/11/6 Deniz Dogan deniz.a.m.do...@gmail.com: 2009/11/6 Erik de Castro Lopo mle...@mega-nerd.com: Stefan Holdermans wrote:    http://people.cs.uu.nl/stefan/pubs/hage08heap.html Getting connection refused on that. Try this one, from Google's cache: http://preview.tinyurl.com/ydjuw2j

Re: [Haskell-cafe] Emacs: Haskell snippets for YASnippet

2009-11-04 Thread Deniz Dogan
... Is ⊥ really valid Haskell? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Announce: language-python version 0.2 now available

2009-11-04 Thread Deniz Dogan
://www.mail-archive.com/haskell-cafe@haskell.org/msg62848.html -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Daniel Schüssler anotheraddress @gmx.de

2009-11-04 Thread Deniz Dogan
/mailman/listinfo/haskell-cafe You guys sure have been good at hiding skeleton.el... The impression I've gotten from a couple of years in #emacs is that yasnippet is the way to go. I'll translate my own snippets to skeleton a.s.a.p. :P -- Deniz Dogan

[Haskell-cafe] What's the deal with Clean?

2009-11-03 Thread Deniz Dogan
what's the deal with Clean? Why is it preferable to Haskell? Why is it not? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to fulfill the code-reuse destiny of OOP?

2009-10-30 Thread Deniz Dogan
Second Tactic) -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANNOUNCE: xmonad 0.9 is now available!

2009-10-26 Thread Deniz Dogan
2009/10/26 zaxis z_a...@163.com: xmonad is great WM i have ever seen. I have used it for a long time. However, i donot know whether or not it is a *good* combination to use xmonad and lxpanel together insead of dzen . Take a look at XMonad.Prompt from xmonad-contrib, it's sick. -- Deniz

Re: [Haskell-cafe] ANN: haskell-mode 2.5

2009-10-25 Thread Deniz Dogan
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe Great news! -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: mecha-0.0.0

2009-10-22 Thread Deniz Dogan
Hackage link: http://hackage.haskell.org/package/mecha/ 2009/10/22 John Van Enk vane...@gmail.com: Is this on hackage yet, or should we just consult the mecha link on your home page? On Wed, Oct 21, 2009 at 11:42 PM, Tom Hawkins tomahawk...@gmail.com wrote: A few months ago, I started

Re: [Haskell-cafe] Hackage down

2009-10-19 Thread Deniz Dogan
. D The explanations I heard were: * The Galois guys got their math wrong and folded monk's disk into R^0 space. * Might be concerned with CERN. * lambdabot hacked Hackage and uses it to plot her plans for world-domination, faster. All from the same person, incidentally! -- Deniz Dogan

Re: [Haskell-cafe] Re: Best Editor In Windows

2009-10-16 Thread Deniz Dogan
This should come as no surprise, but Emacs can do this as well. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] type inference question

2009-10-08 Thread Deniz Dogan
in lambda calculus, technically, take exactly one argument? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Re[4]: [Haskell-cafe] Creating an alias for a function

2009-10-07 Thread Deniz Dogan
2009/10/7 michael rice nowg...@yahoo.com Actually I used it to fake the Pascal ord(x) function: ord = fromEnum Problem? Michael If the monomorphism restriction applies, the compiler (assuming you're using GHC) will tell you about it. -- Deniz Dogan

Re: Re[6]: [Haskell-cafe] Creating an alias for a function

2009-10-07 Thread Deniz Dogan
)    Probable fix: give these definition(s) an explicit type signature                  or use -fno-monomorphism-restriction I don't see the problem? GHC seems to tell you about the monomorphism restriction in your example. -- Deniz Dogan ___ Haskell-Cafe

Re: [Haskell-cafe] dsl and gui toolkit

2009-10-06 Thread Deniz Dogan
2009/10/6 John A. De Goes j...@n-brain.net: CSS is a good start by it's beset by all the problems of a 1st generation presentation language, and is not particularly machine-friendly. I think CSS is neat for websites, but I'm not so sure about using it in normal applications. -- Deniz Dogan

Re: [Haskell-cafe] I/O Haskell question

2009-10-05 Thread Deniz Dogan
, ... } ... -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] I read somewhere that for 90% of a wide class of computing problems, you only need 10% of the source code in Haskell, that you would in an imperative language.

2009-09-30 Thread Deniz Dogan
. txtCommaSeparatedNames.Text.Split(',').Select(x = x.Trim()).Where(x = x.Length 0).Select(x = Convert.ToInt32(x)).ToList(); Ah, the joy of FP. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Re: [Haskell-beginners] map question

2009-09-17 Thread Deniz Dogan
, which is `subtract 1'. Prelude map (subtract 1) [1..4] [0,1,2,3] Note that `subtract' is just another name for `flip (-)', i.e. subtraction with its argument in reverse order. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Deniz Dogan
. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Efficient functional idiom for histogram

2009-07-31 Thread Deniz Dogan
balanced trees and is not e.g. a hash map. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] gtk2hs tray icon disappears when using GHCi

2009-07-01 Thread Deniz Dogan
widgetShowAll window mainGUI -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] List spine traversal

2009-06-29 Thread Deniz Dogan
on this one. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Half-integer

2009-06-28 Thread Deniz Dogan
actually works... Usually, it's pretty straight-forward and most options are self-explanatory. http://en.wikibooks.org/wiki/Haskell/Packaging#The_Cabal_file -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] HaRe (the Haskell Refactorer) in action - short screencast

2009-06-23 Thread Deniz Dogan
. It already has a dollarification function which converts stuff like hello (there (how (are you))) into hello $ there $ how $ are you (I'm bad at coming up with examples). -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] How to determine if a FilePath is a directory name or regular file?

2009-06-22 Thread Deniz Dogan
in Haskell, where is seems to be the convention. In fact, Hoogle only knows about three functions which start with does. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to determine if a FilePath is a directory name or regular file?

2009-06-22 Thread Deniz Dogan
2009/6/22 Duncan Coutts duncan.cou...@worc.ox.ac.uk: On Mon, 2009-06-22 at 08:53 +0200, Deniz Dogan wrote: 2009/6/22 Colin Paul Adams co...@colina.demon.co.uk: Judah == Judah Jacobson judah.jacob...@gmail.com writes:    Judah On Sun, Jun 21, 2009 at 11:12 PM, Colin Paul    Judah Adamsco

Re: [Haskell-cafe] How to determine if a FilePath is a directory name or regular file?

2009-06-22 Thread Deniz Dogan
/no/such/directory) should return false, since there is no such directory. Are you saying that when a function is named isDirectory you expect it to only check for a trailing forward slash character? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] Slightly off-topic: Lambda calculus

2009-06-21 Thread Deniz Dogan
collisions. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] coding standard question

2009-06-21 Thread Deniz Dogan
this the downside is the nasty ghc warnings. Is there a coding consensus on this issue? Vasili I say you should change it. Any maintainer of code with shadowed variables could easily be confused, no matter what the language is. -- Deniz Dogan

[Haskell-cafe] Code walking off the right edge of the screen

2009-06-20 Thread Deniz Dogan
see, that doesn't really apply here. something and somethingElse are simply booleans and each of them have different actions to take if either of them is True. So how do I make code like this prettier? Thanks, Deniz Dogan ___ Haskell-Cafe mailing list

[Haskell-cafe] Re: Running a sub-process which dies with the main program

2009-06-19 Thread Deniz Dogan
2009/6/18 Deniz Dogan deniz.a.m.do...@gmail.com: Hi I couldn't come up with a better subject than this one, so anyways... I have a small program which spawns a subprocess. However, when I hit C-c, the subprocess won't die, instead it will just keep running until it's done or until I kill

Re: [Haskell-cafe] Re: Running a sub-process which dies with the main program

2009-06-19 Thread Deniz Dogan
2009/6/19 Aycan iRiCAN aycan.iri...@core.gen.tr: Cum, 2009-06-19 tarihinde 11:58 +0200 saatinde, Deniz Dogan yazdı: 2009/6/18 Deniz Dogan deniz.a.m.do...@gmail.com: Hi I couldn't come up with a better subject than this one, so anyways... I have a small program which spawns

Re: [Haskell-cafe] Re: Running a sub-process which dies with the main program

2009-06-19 Thread Deniz Dogan
2009/6/19 Aycan iRiCAN aycan.iri...@core.gen.tr: Cum, 2009-06-19 tarihinde 12:42 +0200 saatinde, Deniz Dogan yazdı: 2009/6/19 Aycan iRiCAN aycan.iri...@core.gen.tr: Cum, 2009-06-19 tarihinde 11:58 +0200 saatinde, Deniz Dogan yazdı: 2009/6/18 Deniz Dogan deniz.a.m.do...@gmail.com: Hi

Re: [Haskell-cafe] Re: Running a sub-process which dies with the main program

2009-06-19 Thread Deniz Dogan
2009/6/19 Aycan iRiCAN aycan.iri...@core.gen.tr: Cum, 2009-06-19 tarihinde 13:09 +0200 saatinde, Deniz Dogan yazdı: 2009/6/19 Aycan iRiCAN aycan.iri...@core.gen.tr: Cum, 2009-06-19 tarihinde 12:42 +0200 saatinde, Deniz Dogan yazdı: 2009/6/19 Aycan iRiCAN aycan.iri...@core.gen.tr

[Haskell-cafe] Running a sub-process which dies with the main program

2009-06-18 Thread Deniz Dogan
suitable for my needs, but I can't seem to find it. Any ideas? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ghc does not link after compiling

2009-06-17 Thread Deniz Dogan
Is the module name Main? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Documentation on hackage

2009-06-15 Thread Deniz Dogan
generated code... Cheers, Thu Not only can this webpage potentially crash the visitor's browser, I also don't think anyone anywhere would find that piece of documentation useful. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] How to know the build dependencies?

2009-06-14 Thread Deniz Dogan
to write a tool for this... -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to know the build dependencies?

2009-06-14 Thread Deniz Dogan
2009/6/14 Gwern Branwen gwe...@gmail.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Jun 14, 2009 at 6:05 AM, Deniz Dogan wrote: Someone really ought to write a tool for this... Well, it's an issue of time. Just building and adding the deps is fast and straightforward. A tool

Re: [Haskell-cafe] Haskell - string to list isusses, and more

2009-06-14 Thread Deniz Dogan
is an uppercase letter, otherwise False. [1] http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html [2] http://haskell.org/ghc/docs/latest/html/libraries/base/Data-Char.html -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Haskell - string to list isusses, and more

2009-06-14 Thread Deniz Dogan
2009/6/14 Deniz Dogan deniz.a.m.do...@gmail.com: I'd say take a look at functions all [1] and isUpper [2], those should be all you need. Sorry, words is also needed for the idea I was thinking of. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] Haskell - string to list isusses, and more

2009-06-14 Thread Deniz Dogan
) I'm also fairly new to Haskell, so I would appreciate feedback from the more experienced. Thanks. Not that I'm very experienced myself, but I came up with the first idea as well: caps1 = all (isUpper . head) . words -- Deniz Dogan ___ Haskell

Re: [Haskell-cafe] Haskell - string to list isusses, and more

2009-06-14 Thread Deniz Dogan
that as well, but couldn't think of any case where head would be called on an empty list. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] curious about sum

2009-06-13 Thread Deniz Dogan
then A else B However, this idea didn't work, because of strictness. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Check out my photos on Facebook

2009-06-13 Thread Deniz Dogan
2009/6/13 Rakesh Malik invite+yn4n...@facebookmail.com: To sign up for Facebook, follow the link below: http://www.facebook.com/p.php?i=898160075k=Z5E62YTRPW2CUGGAX144X3r I followed that link, in case anyone cares. -- Deniz Dogan ___ Haskell-Cafe

[Haskell-cafe] ANNOUNCE: hunp-0.0

2009-06-13 Thread Deniz Dogan
~/download/something/hello.r00 and calls unrar x ~/download/something/hello.r00. $ hunp ~/howdy.tar.gz ...calls tar zxvf ~/howdy.tar.gz Get it from http://hackage.haskell.org/package/hunp or from git://github.com/skorpan/hunp.git Enjoy! -- Deniz Dogan PS. I was unable to find the thread on how

Re: [Haskell-cafe] Logo fun

2009-06-12 Thread Deniz Dogan
, to make the bottoms of them look shadowed. -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Logo fun

2009-06-12 Thread Deniz Dogan
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com: 2009/6/12 Tom Lokhorst t...@lokhorst.eu: There's a SVG version of the logo on the wiki: http://haskell.org/haskellwiki/Thompson-Wheeler_logo I think the biggest problem making the batteries not look like batteries is that they don't look round

Re: [Haskell-cafe] Logo fun

2009-06-12 Thread Deniz Dogan
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com: 2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com: 2009/6/12 Tom Lokhorst t...@lokhorst.eu: There's a SVG version of the logo on the wiki: http://haskell.org/haskellwiki/Thompson-Wheeler_logo I think the biggest problem making the batteries

Re: [Haskell-cafe] Logo fun

2009-06-12 Thread Deniz Dogan
2009/6/12 Thomas Davie tom.da...@gmail.com: On 12 Jun 2009, at 11:15, Deniz Dogan wrote: 2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com: 2009/6/12 Tom Lokhorst t...@lokhorst.eu: There's a SVG version of the logo on the wiki: http://haskell.org/haskellwiki/Thompson-Wheeler_logo I think

Re: [Haskell-cafe] Logo fun

2009-06-11 Thread Deniz Dogan
that especially the minus sign is a bit unclear, so maybe we could make the signs heavier? -- Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Change value of a variable

2009-06-07 Thread Deniz Dogan
returned by the method. Depending on exactly what you want, you may or may not want to look into monads, specifically the State or Writer monad. Could you give some more specific details on what you are trying to accomplish? -- Deniz Dogan ___ Haskell-Cafe

Re: [Haskell-cafe] Floating instance and pi

2009-05-29 Thread Deniz Dogan
, but that gives an error: `pi' is not a (visible) method of class `Floating' Any idea? Paul Are you sure that your ADT fits into the Floating class in the first place? I reckon if it did, defining pi for it wouldn't be a problem. Could you show us the code you have? -- Deniz Dogan

Re: [Haskell-cafe] Why is Bool no instance of Num and Bits?

2009-05-08 Thread Deniz Dogan
(/=)? Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Foldable for BNFC generated tree

2009-05-04 Thread Deniz Dogan
2009/5/4 Martijn van Steenbergen mart...@van.steenbergen.nl: Hi Deniz, Deniz Dogan wrote: So, basically I'd like some sort of folding functionality for these data types, without having to hack the lexer/parser myself (parameterising the data types), because as I said they're being

[Haskell-cafe] Foldable for BNFC generated tree

2009-05-03 Thread Deniz Dogan
would allow me to instantiate Foldable, but I'm not entirely sure that this is the best way to do this. Any help is appreciated, Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] astronomy projects in haskell

2009-04-22 Thread Deniz Dogan
Litchard Could this be what you meant? http://www.absoluteastronomy.com/topics/Haskell_(programming_language) Deniz Dogan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Haskell Logo Voting has started!

2009-03-19 Thread Deniz Dogan
IANAL, so would this a problem if this logo won? Deniz 2009/3/19 Cetin Sert cetin.s...@gmail.com: 37Lenny222 Just noticed that this logo is way too similar to the logo of Techsmith: http://www.techsmith.com/ Regards, CS 2009/3/19 Eelco Lempsink ee...@lempsink.nl On 19 mrt 2009, at

Re: [Haskell-cafe] Re: Sugestion for a Haskell mascot

2009-03-12 Thread Deniz Dogan
2009/3/12 Satnam Singh satn...@microsoft.com: I agree that looking for a mascot that is inspired by laziness is a bad idea from a P.R. perspective (I am tired of people walking out the room when I give Haskell talks to general audiences and explain lazy evaluation). Perhaps this is just an

Re: [Haskell-cafe] Re: Sugestion for a Haskell mascot

2009-03-12 Thread Deniz Dogan
2009/3/12 Colin Paul Adams co...@colina.demon.co.uk: Deniz == Deniz Dogan deniz.a.m.do...@gmail.com writes:    Deniz 2009/3/12 Satnam Singh satn...@microsoft.com:     I agree that looking for a mascot that is inspired by     laziness is a bad idea from a P.R. perspective (I am tired

Re: [Haskell-cafe] Re: Against cuteness

2009-03-12 Thread Deniz Dogan
2009/3/13 Benjamin L. Russell dekudekup...@yahoo.com: On Thu, 12 Mar 2009 09:11:15 -0500, Gregg Reynolds d...@mobileink.com wrote: [snip] Why even bother discussing whether a potential mascot should be cute or not? You guys should come up with new ideas instead of simply stating what you

Re: Re[2]: [Haskell-cafe] Sugestion for a Haskell mascot

2009-03-11 Thread Deniz Dogan
2009/3/11 minh thu not...@gmail.com: 2009/3/11 Bulat Ziganshin bulat.zigans...@gmail.com: Hello Wolfgang, Wednesday, March 11, 2009, 1:06:37 PM, you wrote: Hehe, I love it. Sloth is a synonym for Lazyness in English too, and they're so freaking cute... :) Same in German: The german

Re: [Haskell-cafe] Sugestion for a Haskell mascot

2009-03-09 Thread Deniz Dogan
It's got my vote! 2009/3/10 Joe Fredette jfred...@gmail.com: Hehe, I love it. Sloth is a synonym for Lazyness in English too, and they're so freaking cute... :) Maurí­cio wrote: Hi, Here in Brazil we have a forest animal we name 'preguiça' -- literally, lazyness. What better mascot we

Re: [Haskell-cafe] Re: Haskell tutorial for pseudo users?

2009-02-06 Thread Deniz Dogan
2009/2/6 Jonathan Cast jonathancc...@fastmail.fm: Emacs' terminal is also lacking all the modern conveniences, like addressable cursors and builtin line-editing designed for 1970s printing terminals and practically no searching capabilities. Alternatively, you could say it's incompatible with

[Haskell-cafe] Temporarily overriding Data.Generics

2009-02-04 Thread Deniz Dogan
Hi I'm currently working on hacking Data.Generics for my master thesis. I'm basically trying to find out whether it can be made a bit faster using e.g. rewrite rules. The problem I'm having is that I need an easy way to import my own modified version of Data.Generics (currently located in the

Re: [Haskell-cafe] Haskell tutorial for pseudo users?

2009-02-02 Thread Deniz Dogan
2009/2/2 Emil Axelsson e...@chalmers.se: Hello, Are there any Haskell tutorials suitable for people who don't (and possibly don't want to) know Haskell, but just want to use an embedded language that happens to be in Haskell? Such a tutorial would focus on using libraries rather than