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

2010-02-14 Thread Artyom Shalkhakov
, 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 Shalkhakov ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] GUI programming

2010-02-02 Thread Artyom Shalkhakov
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 attach static event handlers and tries to determine what to do dependent

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

2009-11-04 Thread Artyom Shalkhakov
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 see why. I'd say that call-by-need is orthogonal to uniqueness typing. Cheers, Artyom Shalkhakov

Re: [Haskell-cafe] Bidirectional programming in Haskell

2009-05-27 Thread Artyom Shalkhakov
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 Shalkhakov. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Bidirectional programming in Haskell

2009-05-26 Thread Artyom Shalkhakov
://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] something along the lines of Boomerang

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

2009-03-17 Thread Artyom Shalkhakov
not load DLL) Prelude 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 ___ Haskell

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

2009-03-11 Thread Artyom Shalkhakov
?) requirements. VRML is complex, 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, Artyom Shalkhakov

Re: [Haskell-cafe] HaskellDB is alive?

2009-02-14 Thread Artyom Shalkhakov
mailing 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

Re: [Haskell-cafe] Amazing

2009-02-14 Thread Artyom Shalkhakov
., 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

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

2009-02-04 Thread Artyom Shalkhakov
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. ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Network.UrlDisp

2009-02-01 Thread Artyom Shalkhakov
documentation 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] Network.UrlDisp

2009-02-01 Thread Artyom Shalkhakov
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. ___ Haskell-Cafe mailing list Haskell

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

2009-01-27 Thread Artyom Shalkhakov
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 Haskell

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

2009-01-17 Thread Artyom Shalkhakov
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 Haskell

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

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

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

2009-01-15 Thread Artyom Shalkhakov
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. Cheers, Artyom Shalkhakov. [1] http://digitalmars.com/d/2.0/hijack.html ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] understanding enumerator/iteratee

2008-12-22 Thread Artyom Shalkhakov
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] Takusen

2008-12-22 Thread Artyom Shalkhakov
Hi Günther, 2008/12/22 Günther Schmidt red...@fedoms.com: 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 Shalkhakov

Re: [Haskell-cafe] understanding enumerator/iteratee

2008-12-20 Thread Artyom Shalkhakov
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 mailing list

[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, Artyom Shalkhakov

[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-Cafe