[Haskell-cafe] Summer of Code idea: Haskell Web Toolkit

2012-03-07 Thread Dimitry Golubovsky
and Snap). http://www.haskell.org/haskellwiki/Haskell_web_toolkit - In memoriam ;) Feel free to use these ideas. It would be nice if you could pick it up and complete - I never did... -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list

[Haskell-cafe] cpphs is missing from new Haskell.org server

2010-12-16 Thread Dimitry Golubovsky
Hi, One more thing is missing after migration. The link found on the cpphs package page at Hackage, http://haskell.org/cpphs/ points to non-existing page. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell

[Haskell-cafe] Rendering of hask in new wiki (MSIE6)

2010-12-15 Thread Dimitry Golubovsky
e-mail. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Cabal and using a throw-away package database during distro package building

2010-11-05 Thread Dimitry Golubovsky
Magnus, You might try Capri which operates Cabal-related stuff privately on a local-to-project package database not touching global or user databases. http://hackage.haskell.org/package/capri http://www.haskell.org/haskellwiki/Capri -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Is it possible to easily connect Haskell to JavaScript/JavaFX in the browser and use a browser as a Windows GUI? :)

2010-10-21 Thread Dimitry Golubovsky
... -- * the whole repo has to be downloaded: darcs get http://code.haskell.org/yc2js/ -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Directory-backed Handle?

2010-09-15 Thread Dimitry Golubovsky
of IODeviceType. I have created a ticket #4317 http://hackage.haskell.org/trac/ghc/ticket/4317 providing the code comments proposed. -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http

Directory-backed Handle?

2010-09-14 Thread Dimitry Golubovsky
of filenames (like in getDirectoryContents), or some sort of serialized FileStatus structures, or anything else? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org

Re: [Haskell-cafe] How to catch exception within the Get monad (the Binary package)

2010-09-07 Thread Dimitry Golubovsky
and consuming it right there the problem might be eliminated entirely... Thanks again. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to catch exception within the Get monad (the Binary package)

2010-09-07 Thread Dimitry Golubovsky
. Any complications to the binary parser will bring performance penalty. Or weird solutions like mine are needed. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

[Haskell-cafe] How to catch exception within the Get monad (the Binary package)

2010-09-04 Thread Dimitry Golubovsky
. --- * there is one intentional inaccuracy in this function: isEmpty is called _after_ decoding is tried, so an empty ByteString would cause parser failure and exception right away; this is used as a test case. -- Dimitry Golubovsky Anywhere on the Web

Alternative (per-project) GHC package database?

2010-06-29 Thread Dimitry Golubovsky
initial thought is: for bootstrapping, I could dump package descriptions from the global database for few basic packages (rts, ghc-prim, base, etc.) and run them through ghc-pkg register with GHC_PACKAGE_PATH set to cover only per-project package conf directory. -- Dimitry Golubovsky Anywhere

Alternative (per-project) package database

2010-06-29 Thread Dimitry Golubovsky
in a single location). So, cabal does work in project-private mode. Maybe developers of cabal-install would consider adding such mode to the program, so all these extra options will not be needed. Of course votes from other users will increase the chance of such addition ;) Thanks. -- Dimitry

GHC.IO.Device and ready method?

2010-06-25 Thread Dimitry Golubovsky
of GHC.IO.Device and GHC.IO.BufferedIO) expected to be thread-safe? I would be happy to store the id of the thread that calls mkFileHandle somewhere in the underlying `dev' and simply reject all I/O requests that come from other threads, but is this correct/permitted behavior? Thanks. -- Dimitry Golubovsky

Thread-backed handles: thread blocked indefinitely in an MVar operation

2010-06-22 Thread Dimitry Golubovsky
seems to have cured the problem: it just simulates EOF on the handle if the thread is blocked (channel vanished). Interestingly that in the failing version, handle closing was done in a separate thread (thread 3), but in the updated version it was the same thread 1. -- Dimitry Golubovsky Anywhere

Thread-backed handles: thread blocked indefinitely in an MVar operation

2010-06-20 Thread Dimitry Golubovsky
that is, the BlockedIndefinitelyOnMVar exception has occurred. What is done wrong in my code? The dirClose method seems to be called (its output shows up), however with or without the call to killThread, the exception occurs anyway. Thanks for any ideas. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Haskell SVG path parser?

2010-05-24 Thread Dimitry Golubovsky
to write such parser, I just don't want to reivent the wheel ;) -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell SVG path parser?

2010-05-24 Thread Dimitry Golubovsky
/paths.html#PathDataGeneralInformation On Mon, May 24, 2010 at 10:43 AM, Henning Thielemann lemm...@henning-thielemann.de wrote: [skip] Once I wrote such a function in order to convert an SVG path to PDF. See parsePath in  http://code.haskell.org/~thielema/internetmarke/src/Main.hs -- Dimitry

Re: [Haskell-cafe] Haskell SVG path parser?

2010-05-24 Thread Dimitry Golubovsky
it into outline points. Are you looking for something like that? That is, the syntax of the d attribute (e. g. M 100 100 L 300 100 L 200 300 z)? -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: Default value for numCapabilities?

2010-04-28 Thread Dimitry Golubovsky
marlo...@gmail.com wrote: On 28/04/2010 03:02, Dimitry Golubovsky wrote: this limitation? rawSystem works fine from within a thread started by forkIO, but why cannot I use forkProcess? No good reason, other than it's tremendously difficult to implement. Thank you. -- Dimitry Golubovsky

Default value for numCapabilities?

2010-04-27 Thread Dimitry Golubovsky
on the command line? Thanks. --- [1] http://haskell.org/pipermail/haskell-cafe/2010-April/076911.html [2] http://hackage.haskell.org/packages/archive/base/latest/doc/html/GHC-Conc.html#v:numCapabilities -- Dimitry Golubovsky Anywhere on the Web

Re: Default value for numCapabilities?

2010-04-27 Thread Dimitry Golubovsky
is main factor) rather than GHC threads. I think I just need to check this experimentally as I have a 4-core (Atom) and 1-core (Via) PCs and see what numCapabilities returns. -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list

Re: Default value for numCapabilities?

2010-04-27 Thread Dimitry Golubovsky
by forkIO, but why cannot I use forkProcess? On Tue, Apr 27, 2010 at 12:35 PM, Bryan O'Sullivan b...@serpentine.com wrote: With 6.12.1 and newer, no -N argument implies 1 core, -Nk implies k cores, and -N without an argument means use all. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Number of CPUs/cores?

2010-04-27 Thread Dimitry Golubovsky
Hi, Does there exist a Haskell library function that returns the number of CPUs/cores (in portable way) on a computer where the program calling it runs? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Number of CPUs/cores?

2010-04-27 Thread Dimitry Golubovsky
OK, makes sense. Thank you. On Tue, Apr 27, 2010 at 10:58 AM, Michael Lesniak mlesn...@uni-kassel.de wrote: [skip] numCapabilities, I think. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] GHC core packages: same core?

2009-10-13 Thread Dimitry Golubovsky
external core instead of machine code / C. I don't believe this is widely used yet. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Any working example of using genericserialize?

2009-09-30 Thread Dimitry Golubovsky
(sexpSerialize [1, 2, 3])) :: Maybe [Integer] Nothing or *Main (withList sexpDeserialize $ buildList (sexpSerialize [1, 2, 3])) :: Maybe [Int] Nothing while I would expect at least one of these cases result in Just [1, 2, 3] What am I missing? Thanks. -- Dimitry Golubovsky Anywhere

Re: [Haskell-cafe] Any generic serializer to String? was: Any working example of using genericserialize?

2009-09-30 Thread Dimitry Golubovsky
thing I thought of was to serialize to JSON (there is a generic serializer in one of packages although I did not test it other way) which has higher overhead than S-expressions though. Any other thoughts? Thanks. -- Dimitry Golubovsky Anywhere on the Web

Re: Re[2]: [Haskell-cafe] Any generic serializer to String? was: Any working example of using genericserialize?

2009-09-30 Thread Dimitry Golubovsky
/utils/Serialized.hs Cheers, Max [skip] -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Re[2]: [Haskell-cafe] Any generic serializer to String? was: Any working example of using genericserialize?

2009-09-30 Thread Dimitry Golubovsky
at 10:19 AM, Dimitry Golubovsky golubov...@gmail.com wrote: Bulat, OK, gread/gshow seem to be like the basis primitives. If they work properly, then it is what is needed. Thanks. On 9/30/09, Bulat Ziganshin bulat.zigans...@gmail.com wrote: Hello Max, Wednesday, September 30, 2009, 5:53:37

[Haskell-cafe] Externally derive instance of Data?

2009-09-11 Thread Dimitry Golubovsky
an auto-derived instance is needed. Or no way other than to recompile the package? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: HSH and IO ()

2009-06-13 Thread Dimitry Golubovsky
of one particular sort.  In particular, this instance: instance ShellCommand (Channel - IO Channel) where -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

[Haskell-cafe] Re: HSH and IO ()

2009-06-13 Thread Dimitry Golubovsky
. If I get any working code, I'll post a link on the list. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] HSH and IO ()

2009-06-12 Thread Dimitry Golubovsky
modelled that by calling getContents, but the actual program will call a foreign library that contains a C function that reads from stdin (that is, FILE *), and that cannot be changed easily. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe

[Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-14 Thread Dimitry Golubovsky
of the repo first. I have fixed some glitches recently, and adjusted both hsffig and ffipkg to work with contemporary GHC and Cabal (at least 1.6.0.x). I'd be glad to get any feedback on HSFFIG. E-mail me to golubovsky at gmail dot com. Thanks. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Few Alex questions

2009-04-30 Thread Dimitry Golubovsky
? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Dimitry Golubovsky
. * See the DOM package: this is an auto-generated Haskel approximation of IDL specs provided for the basic DOM components. [1] http://www.cs.chalmers.se/~boquist/phd/index.html [2] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/DOM-2.0.1 -- Dimitry Golubovsky Anywhere

[Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Dimitry Golubovsky
hopefully will end up opening possibility to translate Haskell things to Javascript. PS For now I am more concerned with the IDL part of it, but any suggestions on GRIN are welcome. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list

[Haskell-cafe] How to get program command line arguments in Unicode-aware way (Unix/Linux)?

2009-03-11 Thread Dimitry Golubovsky
program arguments in GHC Unicode-aware? Or at least assuming that they are always in UTF-8? Something like System.IO.UTF8, but for command line arguments? Thanks. PS: BTW runhugs testarg -T 'привет' prints: -T \1087\1088\1080\1074\1077\1090 which is correct. -- Dimitry Golubovsky Anywhere

[Haskell-cafe] Automatic instance constraints derivation: how?

2008-12-19 Thread Dimitry Golubovsky
to define such an instance for a thunk without any constraints? Wouldn't it be reasonable to expect that eval (Ffun a b c) = fun a b c would allow the compiler to retrieve constraints on a, b, c from those already known for the called function? Thanks. -- Dimitry Golubovsky Anywhere

Re: [Haskell-cafe] CouchDB module in Yhc source tree: clarification, and small problems with other packages

2008-08-21 Thread Dimitry Golubovsky
in question was written only to satisfy the needs of the Yhc Web Service and may be missing some pieces, although it may be good for a starting point. Thank you. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe

[Haskell-cafe] Lines of code metrics

2008-08-21 Thread Dimitry Golubovsky
80s trying to estimate code quality of Pascal programs on PDP-11, but that was a pain to count functions' operands properly as they might come from global variables. Application of these formulas to functional languages might be mich cleaner, so has anybody tried? Thanks. -- Dimitry Golubovsky

[Haskell-cafe] External query interface to HackageDB?

2008-06-14 Thread Dimitry Golubovsky
: is there any database-like backend that would accept queries, other than just parsing Apache dir listings? My final goal, given some master-list of package names, to be able to retrieve latest succesfully built (not just uploaded) releases from Hackage Thanks. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Parsec, updateState, and failure

2008-05-31 Thread Dimitry Golubovsky
updateState, or will failure of p1 roll the update back? Is there any bracket- or try-catch-finally-like mechanism for Parsec? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] Upd: Parsec, updateState, and failure

2008-05-31 Thread Dimitry Golubovsky
too (second updateState will not be reached). But what will p2 (tried next) see in the user state? Will it be state after the first updateState, or will failure of p1 roll the update back? Is there any bracket- or try-catch-finally-like mechanism for Parsec? Thanks. -- Dimitry Golubovsky Anywhere

[Haskell-cafe] Experimental compilation of Haskell to Erlang

2008-05-18 Thread Dimitry Golubovsky
are described in this Haskell Wiki article: http://www.haskell.org/haskellwiki/Yhc/Erlang/Proof_of_concept Any feedback is appreciated. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Haskell in Web Browser: draft tutorial

2008-03-25 Thread Dimitry Golubovsky
/MainGUI.html Users guide: http://www.haskell.org/haskellwiki/Yhc_web_service -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Hello World in Haskell for web browser

2008-03-06 Thread Dimitry Golubovsky
techniques. Feel free to ask questions. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: [Yhc] Yhc Web Service quietly opened for public testing

2008-03-05 Thread Dimitry Golubovsky
e. g. with CSS interpreted differently by FF vs MSIE; this needs to work on in the future. Thanks for your interest. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

[Haskell-cafe] Haddock Documentation for Yhc Web Service available online

2008-03-05 Thread Dimitry Golubovsky
Hi, I have regenerated Haddock documentation for Haskell modules included into the Yhc Web Service. http://www.golubovsky.org:5984/_utils/yhcws/index.html Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe

[Haskell-cafe] CouchDB module in Yhc source tree: clarification, and small problems with other packages

2008-01-05 Thread Dimitry Golubovsky
have something omitted here. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] problems building ycr2js

2007-11-25 Thread Dimitry Golubovsky
be fixed (if at all) please let me know. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] problems building ycr2js

2007-11-25 Thread Dimitry Golubovsky
Hi again, I'm thinking: if this all is about a small file, addtags.idl which is generated in some unusual way, I might just add it to the distributable source tree, and then nobody would have had problems with ${var:m:n} substitution. Thanks. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] problems building ycr2js (hopefully fixed)

2007-11-25 Thread Dimitry Golubovsky
Hi, I have made the file `addtags.idl' part of the repo. Please do scons update and see if it compiles. PS If there are any other problems with Yhc/Javascript backend, please CC me, [EMAIL PROTECTED] Thanks -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Re: problems building ycr2js (hopefully fixed)

2007-11-25 Thread Dimitry Golubovsky
too. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to abort a computation within Continuation Monad?

2007-11-21 Thread Dimitry Golubovsky
I have created a simple (pseudo) concurrency demo that runs in a web browser, see the wiki page: http://haskell.org/haskellwiki/Concurrency_demos/Haskell-Javascript_concurrency Thanks. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] How to abort a computation within Continuation Monad?

2007-11-19 Thread Dimitry Golubovsky
$ \exit - do foo ... I cannot jump to `exit' from within foo unless `exit' is given to foo as an argument. Any suggestions? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] New demo/test program for Yhc Javascript backend

2007-11-18 Thread Dimitry Golubovsky
I am ;) But to me not being an expert in Safari, these error messages do little help (or if at least I knew what actual lines they meant)... Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] New demo/test program for Yhc Javascript backend

2007-11-16 Thread Dimitry Golubovsky
). There is a darcs repo: http://www.golubovsky.org/repos/wsptest/ from which this demo program along with Makefile can be obtained if anybody wants to play with the code. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list

[Haskell-cafe] placing modules in the module hierarchy

2007-10-29 Thread Dimitry Golubovsky
to this library, goes under Graphics.UI.Grapefruit. Whatever may be commonly used elsewhere (say some useful data structures) might go under Data. So, if FRP signals are usable outside the Grapefruit, they might go to Control. Thanks. -- Dimitry Golubovsky Anywhere on the Web

Why hide Distribution.Compat.FilePath, or what to use instead?

2007-07-15 Thread Dimitry Golubovsky
for exeExtension? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

[Haskell-cafe] Haskell-cafe] Haskell and a new web developement mailinglist?

2007-03-20 Thread Dimitry Golubovsky
Marco Weber wrote: I've been talking to Chris Eidhof the last days and we'd like to suggest adding another specialized haskell mailinglist: Haskell and web developement. I support the idea to have such a mailing list. Thanks. -- Dimitry Golubovsky Anywhere on the Web

[Haskell] Haskell Xlib bindings

2007-02-05 Thread Dimitry Golubovsky
was missing in it back then. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: Exception when compiling HAppS

2007-01-07 Thread Dimitry Golubovsky
and platform are you using? bash$ uname -a Linux dmghome 2.2.16 #9 Mon Sep 16 22:43:25 EDT 2002 i686 unknown -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org

Re: Exception when compiling HAppS

2007-01-07 Thread Dimitry Golubovsky
? Surprisingly, tonight I was able to get past that file, and compiled the whole package. So the question remains in semi-closed state. I hope that future versions of GHC will be more informative of which child process caused such error. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Haskell source transformer?

2006-11-29 Thread Dimitry Golubovsky
things I need, or rather a library on top of the parser? I just would like to avoid reinventing the wheel. Last thing I want to do is to change sources of HDirect. Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe

[Haskell-cafe] YCR2JS Programmers Guide Draft available

2006-11-22 Thread Dimitry Golubovsky
. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] A possible use for HSFFIG (FFIPKG) was USB Drivers in Haskell

2006-08-25 Thread Dimitry Golubovsky
to try FFIPKG out and ask questions. PS Sorry for such self-advertising, but I believe that this tool could be helpful at least for prototyping bindings, so I'd appreciate any feedback. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing

[Haskell-cafe] [Haskell] AJAX applications in Haskell

2006-08-10 Thread Dimitry Golubovsky
of Javascript from bytecodes does not seem better to me at the time)? -- * Work in progress may be observed at http://www.golubovsky.org/repos/nhc98/ in particular in http://www.golubovsky.org/repos/nhc98/src/compiler98/STGJcode.hs but at the moment there is virtually nothing done. -- Dimitry

[Haskell] AJAX applications in Haskell

2006-08-09 Thread Dimitry Golubovsky
in progress may be observed at http://www.golubovsky.org/repos/nhc98/ in particular in http://www.golubovsky.org/repos/nhc98/src/compiler98/STGJcode.hs but at the moment there is virtually nothing done. -- Dimitry Golubovsky Anywhere on the Web

Packages: exposed, hidden, available (was: Packages and Modules)

2006-07-05 Thread Dimitry Golubovsky
with recent Linux kernels. ** one might think about lazy package resolution i. e. only minimal subset of packages like base, mtl, network, etc that generally come with GHC/other compiler are installed on a developer's system, and the rest of packages are transient/cached on demand. -- Dimitry

[glasgow-haskell-users] Searchpath vs. Cabalfind (was: installing a Cabal package non-exposed)

2006-06-16 Thread Dimitry Golubovsky
modules' locations from search engines? I wish I could see what modules.map looks like, then I could see better whether what Cabalfind gets from Google could be an alternative? Not that I am pushing for Cabalfind in any way; just curious. -- Dimitry Golubovsky Anywhere on the Web

Memory leak in Fudgets

2006-03-03 Thread Dimitry Golubovsky
be the reason of such memory leak? What else may grow if the heap remains constant? How can it be observed? Any ideas are welcome. -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http

[Haskell] ANN: FFI Imports Packaging Utility (pre-release)

2006-02-12 Thread Dimitry Golubovsky
. The package also contains an unfinished xmldump utility which depends on the hxt (XML Toolbox) package. Please let me know if this is a great inconvenience: I may remove it from the release. Hope that this utility will be useful for the developers. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] FFI Wiki Page (was: FFI question)

2006-02-09 Thread Dimitry Golubovsky
there are http://haskell.org/hawiki/FfiCookbook and http://haskell.org/hawiki/FfiTutorial pages. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] How to redirect a handle...

2006-01-18 Thread Dimitry Golubovsky
Thanks everybody who answered. Indeed, forkProcess is something I completely overlooked... -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Unboxed types and FFI (GHC Users Guide, Section 8.1.1)

2005-12-30 Thread Dimitry Golubovsky
ccall bla.h fun fun :: Int# - Int# instead of using CInt? Are there any examples of using unboxed types with FFI? -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org

Re: Two issues bulding ghc 6.4.1

2005-12-26 Thread Dimitry Golubovsky
Dimitry Golubovsky wrote: 2. Error while assembling (or mangling?) ForeignObj.lhs; fragments of make output below (long lines wrapped/truncated, the whole file is too long to post it here but I'll provide it if needed): This one has been fixed by installing gcc-2.95.2 and building using

Two issues bulding ghc 6.4.1

2005-12-25 Thread Dimitry Golubovsky
I have encountered two issues trying to build ghc-6.4.1 from the source tarball. 1. (fixed) GNU make v 3.79 does not work (was discussed on irc yesterday: at least two people including myself got this issue), v 3.80 works. If not already in FAQ/wiki perhaps worth including. 2. Error while

[Haskell-cafe] XML Schema for Haskell parsing?

2005-12-19 Thread Dimitry Golubovsky
GCCXML defines some XML schema for the results of a C(++) program parsing. Does there exist any agreed-upon XML schema to represent the results of Haskell program parsing? Thanks. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Haskell GUI on top of Xlib?

2005-11-28 Thread Dimitry Golubovsky
Einar, Are you talking about packet handling level only (i. e. same as I have now), or do you also have any of their transport algorithms (lazy request sending/response retrieval) implemented? Einar Karttunen wrote: I managed to parse the XCB XML protocol descriptions to Haskell data

[Haskell-cafe] Lazier I/O?

2005-11-28 Thread Dimitry Golubovsky
This may be a stupud question, but how to make I/O in Haskell really lazy? Here is a simple program: module Main where import System.IO import Foreign import Data.Word import Data.Char s2c :: String - [Word8] s2c s = map (fromIntegral . ord) s sendstr :: Handle - String - IO Int

Re: [Haskell-cafe] Haskell GUI on top of Xlib?

2005-11-26 Thread Dimitry Golubovsky
mutable objects needs to be built on top of the standard I/O stuff. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell GUI on top of Xlib?

2005-11-25 Thread Dimitry Golubovsky
to implement a full analog of Xlib in Haskell. Instead, it might be interesting to create a fully functional GUI toolkit based on some already existing high-level interface. Any ideas will be appreciated. Dimitry Golubovsky Middletown, CT ___ Haskell

Re: [Haskell-cafe] records proposals list

2005-11-19 Thread Dimitry Golubovsky
parameters will be needed, and perhaps some syntactic sugar to autogenerate it and its instances. The only downside is GHC needs too much memory to compile all this: I had to add a splitter utility to HSFFIG otherwise GHC failed short of memory on even several tens of C structures. Dimitry Golubovsky

[Haskell-cafe] Darcs and the Google Base

2005-11-17 Thread Dimitry Golubovsky
. However, it's been more than a whole day since my attempt, it hasn't been resolved. Interestingly, my item was published after I removed the Darcs label, but shortly after I resubmitted the exemption request for Darcs the item disappeared. -- Dimitry Golubovsky Anywhere on the Web

[Haskell-cafe] Records (was Re: [Haskell] Improvements to GHC)

2005-11-17 Thread Dimitry Golubovsky
I found it useful to use (mainly for debugging purposes) mapM (putStrLn . show) some list if I want to print its elements each on a new line. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-Cafe] DARCS and case of file name letters

2005-11-01 Thread Dimitry Golubovsky
/Xauthority.hs bash$ darcs --version 1.0.3 (release) DARCS was compiled by GHC 6.2.2. bash$ uname -a Linux dmghome 2.2.16 #9 Mon Sep 16 22:43:25 EDT 2002 i686 unknown Is it DARCS that ignores the case of letters in filenames, or the Haskell runtime? Dimitry Golubovsky Middletown, CT

[Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Dimitry Golubovsky
The papers presented at the Workshop are already available in the ACM library which requires membership/subscription to read full text PDFs. Are there any plans to make those papers available anywhere else on the Web without subscription? -- Dimitry Golubovsky Anywhere on the Web

Re: [Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Dimitry Golubovsky
Nils Anders Danielsson wrote: Most authors do put their papers on their web pages nowadays. In particular, I would like to read the paper on halfs (haskell filesystem). Googling for halfs haskell filesystem gave nothing but the Workshop's schedule and ACM Library TOC. Dimitry Golubovsky

[Haskell-cafe] [Announce] CabalFind 0.1

2005-09-10 Thread Dimitry Golubovsky
with 6.4, changes may be necessary, as the XML Toolbox for 6.4 no longer includes the HTTP module, so HTTP.cabal needs to be included in build-depends. More information provided at http://haskell.org/hawiki/CabalFind Any feedback is appreciated. Dimitry Golubovsky Middletown, CT -- * Only

[Haskell-cafe] XML Toolbox Question

2005-08-20 Thread Dimitry Golubovsky
Hi, How can I obtain a list of all a tags from the result of parseHtmlContent? Unfortunately, the Haddock documentation coming with the package is not rich on examples. Any suggestions will be appreciated. Dimitry Golubovsky Middletown, CT

C--

2005-08-12 Thread Dimitry Golubovsky
? What compiler flags are available for cmm files compilation? The User's guide says nothing specific. Are -E, -C, -S available (along with -c and -fvia-c seen in the nightly build log)? -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users

[Haskell-cafe] Announce: HSFFIG 1.0 Stable Release

2005-08-01 Thread Dimitry Golubovsky
information page, and the project homepage. For any problems related to this project feel free to contact me. -- Dimitry Golubovsky ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] hssfig: Unresolved symbols when importing a foreign library: what is the preferred way of handling?

2005-07-27 Thread Dimitry Golubovsky
or checked out from the DARCS repo. If these persons have found this program useful, would they please suggest something on the matter I described. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

RE: [Haskell-cafe] Suggestions for #defines with FFI

2005-07-27 Thread Dimitry Golubovsky
John, Could you please give an example of such constant definitions? Is it possible to look at the include file? -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] hsffig issues (was: Suggestions for #defines with FFI)

2005-07-27 Thread Dimitry Golubovsky
, since they could vary somewhat from implementation to implementation. Exactly: the Haskell compiler gets the same information (e. g. from features.h) as the C compiler got when compiling the library. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe

[Haskell-cafe] Arbitrary files in a Cabal package: how to install

2005-07-24 Thread Dimitry Golubovsky
directories for them be specified? I am using the simplified (?) version of Cabal that Ross suggested whrn I asked in this list whether it would be possible to use it with older GHC. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list

Unicode in GHC 6.2.2 and 6.4.x (was: Re: [Haskell-cafe] Unicode.hs)

2005-07-16 Thread Dimitry Golubovsky
Dear List Subscribers, Simon Marlow wrote: On 30 June 2005 14:36, Dimitry Golubovsky wrote: It is in CVS now, and I believe will be in 6.4.1 Not planned for 6.4.1, but definitely in 6.6. I have put those files that work for me in GHC 6.2.2 (Unicode support) for download. Please read

Cabal and older versions of GHC

2005-07-11 Thread Dimitry Golubovsky
? I am not going to upgrade to GHC 6.4.x any time soon, so what are my options in using Cabal with 6.2.2? -- Dimitry Golubovsky Anywhere on the Web ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman

[Haskell-cafe] Unicode.hs (was: RE: Re[2]: ANNOUNCE: GHC survey results)

2005-06-30 Thread Dimitry Golubovsky
Hi, Vadim Konovalov wrote: === that file reads: -- Based on the GHC.Unicode library, Copyright 2005, Dimitry Golubovsky. -- See GHC's LICENSE file for the full license text. That said, it is part of GHC? === Clarifying on Unicode stuff in GHC I contributed: It is in CVS now, and I believe

  1   2   >