Re: [Haskell-cafe] on finding abstractions ...

2010-02-14 Thread Artyom Shalkhakov
rams". Unrelated to Haskell, it shows a bunch of nice examples of abstraction, including the steps required to get there, with motivation and justifications. The books is aimed at beginners in programming, but don't let that discourage you: it has good ideas to share. Cheers, Artyom Shalk

Re: [Haskell-cafe] GUI programming

2010-02-02 Thread Artyom Shalkhakov
is only tangentially related to GUI programming, I wonder if their approach can be adapted for use in GUIs. Cheers, Artyom Shalkhakov > The behaviour is a monad and it's IO monad so you can do any IO > (Gtk2hs) programming you wish. The differences is that you don't >

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

2009-11-04 Thread Artyom Shalkhakov
f becomes: > f : *a -> (int, *a) and the code looks very familiar: > let (a, x') = f(x) > (b, x'') = f(x') > in a + b The function f can use destructive updates under the hood though it doesn't violate referential transparency. I bet you can you

Re: [Haskell-cafe] Bidirectional programming in Haskell

2009-05-27 Thread Artyom Shalkhakov
Takeichi, >    A programmable editor for developing structured documents >    based on bidirectional transformations. >    In Partial Evaluation and Semantics-Based Program Manipulation, >    pp. 178-189. August 2004 Thanks a lot, I'm off for some reading. :) Cheers, Artyom Shalk

Re: [Haskell-cafe] Bidirectional programming in Haskell

2009-05-26 Thread Artyom Shalkhakov
ttp://linux.tcs.inf.tu-dresden.de/~bff/cgi-bin/bff.cgi Thanks for the links, I'm off for tinkering... Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Bidirectional programming in Haskell

2009-05-25 Thread Artyom Shalkhakov
Hello, Are there any libraries for "bidirectional" [1] programming in Haskell? Any related work? All I've found is a paper "There and back again: arrows for invertible programming", which I couldn't find the full text of. Cheers, Artyom Shalkhakov. [1] somethin

Re: [Haskell-cafe] Haskell, OpenGL on Windows

2009-03-17 Thread Artyom Shalkhakov
elude Main> Have you tried running GHCi with the -v flag? I've copied the GLUT dll into Windows/System32. I think it's better to leave GLUT dll in your application directory, next to the executable. -- Cheers, Artyom Shalkhakov ___ Ha

Re: [Haskell-cafe] Loading 3D points & normals into OpenGL?

2009-03-11 Thread Artyom Shalkhakov
mplex, and in fact can be an overkill to use in a (simple?) game. There's another route you can take, though: write an exporter from some intermediate format (like Collada or Blender), that would strip off features you don't intend to handle. -- Cheers, Ar

Re: [Haskell-cafe] Amazing

2009-02-14 Thread Artyom Shalkhakov
er (i.e., generate a lot of hype), strike gold, and get dirty rich. ;-) Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] HaskellDB is alive?

2009-02-14 Thread Artyom Shalkhakov
ng list archives. I personally found that it lacks some features that I need for my application, so I decided to go with raw HDBC. Combinators rule, however. :) Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.has

[Haskell-cafe] ANN: UrlDisp, a friendly URL dispatching library

2009-02-04 Thread Artyom Shalkhakov
Happstack compatibility is planned. Documentation and usage examples are available at HaskellWiki: <http://www.haskell.org/haskellwiki/UrlDisp> Thanks to Sterling Clover for his HVAC; this is where inspiration came from. Cheers, Artyom Shalkhakov. ___

Re: [Haskell-cafe] Network.UrlDisp

2009-02-01 Thread Artyom Shalkhakov
ackages on Hackage, > but you might have to wait a while (up to a day?) for it to get built. > If there are still no links to Haddock documentation, check the build > log. Everything seems to be fine. Thanks! Cheers, Artyom Shalkhakov. ___

Re: [Haskell-cafe] Network.UrlDisp

2009-02-01 Thread Artyom Shalkhakov
ation to Hackage. The code itself contains documentation, but I couldn't get it to show up on Hackage. Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: data-spacepart - space partitioning data structure[s] (initial release)

2009-01-27 Thread Artyom Shalkhakov
n. Are you going to experiment with kd-trees, octrees and other spatial acceleration data structures? Is it for raytracing or for collision detection, or maybe for 3d graphics on consumer hardware? Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Hask

Fwd: [Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Artyom Shalkhakov
Sorry, forgot to forward to the ML. -- Forwarded message -- From: Artyom Shalkhakov Date: 2009/1/25 Subject: Re: [Haskell-cafe] Haskell Web Framework To: Michael Snoyman Hello, 2009/1/25 Michael Snoyman : > Just as a quick summary of the post, I would say the most sali

Re: [Haskell-cafe] some ideas for Haskell', from Python

2009-01-17 Thread Artyom Shalkhakov
in Haskell > http://www.cse.unsw.edu.au/~dons/hs-plugins/ > So the problem of dynamically loading plugins should already be solved? Well, mostly yes, but I think that it should be added to the language. Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list H

Re: [Haskell-cafe] some ideas for Haskell', from Python

2009-01-15 Thread Artyom Shalkhakov
her `Main.isDirectory', defined at foo.hs:6:0 > or `PF.isDirectory', imported from > System.Posix.Files at foo.hs:2:0-30 > That's exactly the problem of "function call hi-jacking". [1] In Haskell it's solved using qualified imports.

Re: [Haskell-cafe] some ideas for Haskell', from Python

2009-01-15 Thread Artyom Shalkhakov
icant, and other widely used programs. Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Takusen

2008-12-22 Thread Artyom Shalkhakov
Hi Günther, 2008/12/22 Günther Schmidt : > where can I find some sample code or other examples to familiarize me with > Takusen? The best resource I've found is: http://darcs.haskell.org/takusen/doc/html/Database-Enumerator.html Cheers, Artyom

Re: [Haskell-cafe] understanding enumerator/iteratee

2008-12-22 Thread Artyom Shalkhakov
o various forms of input. :) This is much like the function you pass to foldr. I hope this clarifies iteratees a bit (and that my understanding is correct). Cheers, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] understanding enumerator/iteratee

2008-12-20 Thread Artyom Shalkhakov
terator to be vague (or at least not very > concrete). Have you read Oleg's DEFUN'08 talk notes? [1] Having read them more than once, I find them comprehensible. :) Cheers, Artyom Shalkhakov. [1] <http://okmij.org/ftp/Haskell/Iteratee/DEFUN08-talk-notes.pdf> _

[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 64, Issue 17

2008-12-11 Thread Artyom Shalkhakov
Hello, 2008/12/10 Ben <[EMAIL PROTECTED]>: > do you have any plans for iteratee based IO? I would like to use it in XHB (X Haskell Bindings). We use ByteStrings ATM, but I find the code hard to read. > have you seen takusen? Actually, I only took a glance or two. Regards, Artyo

[Haskell-cafe] Iteratee-based IO and lightweight monadic regions in the wild

2008-12-10 Thread Artyom Shalkhakov
Hello, Is anybody planning to use these shiny new ways for doing IO? I'm also interested in a fair comparison of ByteString/Binary with iteratee-based IO. Has anybody done this? Regards, Artyom Shalkhakov. ___ Haskell-Cafe mailing list Haskell