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

[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

[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

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

[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

[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

[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

[Haskell-cafe] Announce: Yet Another Tool to Generate FFI Bindings: hsffig

2005-06-25 Thread Dimitry Golubovsky
://www.golubovsky.org/repos/hsffig Files in the repository may be browsed at: http://www.golubovsky.org/repos/hsffig/ I will appreciate any feedback. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Generalized version of `words'?

2005-06-11 Thread Dimitry Golubovsky
such a function already exists, what is its name? In the opposite case, can such a function be added to the standard library? (or why didn't it exist?) Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] OT: http://www.cse.unsw.edu.au host name does not resolve

2005-06-08 Thread Dimitry Golubovsky
if the address is correct. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Infix operators naming conflicts (was: class Ref)

2005-06-07 Thread Dimitry Golubovsky
up with the name (--) which looks like C notation. But who knows, whether someone wishes to use (--) for other purposes? -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] G machine in FORTH

2005-06-01 Thread Dimitry Golubovsky
on Forth itself). I guess, only someone thinking Forth (as in the Brodie's book) might develop such a thing. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] RFE: Extensible algebraic user-defined data types?

2005-04-28 Thread Dimitry Golubovsky
hypothetical data type, and it would be NEither.Nothing if conflicting with Maybe.Nothing PPS I may be missing something again, as always ;) -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] FFI and pointers to pointers

2005-04-22 Thread Dimitry Golubovsky
, but maybe someone has? Thanks for any advice. -- 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: Closest analog to popen()

2005-04-13 Thread Dimitry Golubovsky
Peter Simons wrote: Dimitry Golubovsky writes: Does there exist any analog of popen in the standard Haskell libraries? Maybe System.Process.runInteractiveCommand is what you need? http://haskell.org/ghc/docs/latest/html/libraries/base/System.Process.html Is this available only in 6.4? In 6.2.2

[Haskell-cafe] Re: [Haskell] URLs in haskell module namespace

2005-03-24 Thread Dimitry Golubovsky
in curl involvement (until the TTL expires). PS This all is written in the assumption that Haskell source files are served. Binary distributions, of course would require different techniques. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe

[Haskell-cafe] Parsec question: how to access parser state

2005-03-20 Thread Dimitry Golubovsky
extract actual user state from the result of getState? The parser itself works as needed, but dealing with user state gets me in trouble. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] invalid character encoding

2005-03-19 Thread Dimitry Golubovsky
, and it showed non-characters as question marks when locale-based codepage was set, and showed everything with chcp 65001 which is Unicode). AFAIK Unix users do not create files named in Russian very often, and Windows users do this frequently. Dimitry Golubovsky Middletown, CT

[Haskell-Cafe] FFI and foreign function returning a structure

2005-03-01 Thread Dimitry Golubovsky
Hi, If I have a C function returning a structure (not a pointer, but structure itself), can this be accomodated via FFI? I re-read the FFI Addendum, and my conclusion is most likely No. I am asking just to make sure this is not only my finding. Dimitry Golubovsky Middletown, CT

Re: [Haskell-cafe] Haskell binding to Berkeley DB?

2005-02-05 Thread Dimitry Golubovsky
Thanks everybody who answered. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell binding to Berkeley DB?

2005-02-03 Thread Dimitry Golubovsky
: http://www.cse.unsw.edu.au/db/thesis/topicinfo/MMTC13.html The rest of links that Google returns are of little relevance. Any ideas? Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

[Haskell-cafe] Convert to unboxed value? How?

2005-01-27 Thread Dimitry Golubovsky
Hi, What function should be used to convert an integer value to Int#? A character to Char#? Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Hugs vs GHC (again)

2005-01-11 Thread Dimitry Golubovsky
Ketil, Ketil Malde wrote: Dimitry Golubovsky [EMAIL PROTECTED] writes: (Did you intend this for the list?) Yes, and I re-posted similar message on the list. I think perhaps the answer is all of the above. The functions could be defined in multiple modules, so that 'ASCII.isSpace' would match

Re: [Haskell-cafe] Unicode: Hugs vs GHC (again) was: Re: Some random newbie questions

2005-01-07 Thread Dimitry Golubovsky
users to have at least basic internationalization. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Hugs vs GHC (again) was: Re: Some random newbie questions

2005-01-06 Thread Dimitry Golubovsky
). Has anything progressed in this regard since then? Most of this list subscribers seem to be GHC users, so can anybody answer? BTW when answering the original post (brief quote below) different aspects were mentioned, but not internationalization ones. Is it really not that important? Dimitry

Re: [Haskell-cafe] Haskell as data manipulation language?

2004-12-07 Thread Dimitry Golubovsky
at the code and/or try it. According to its (rather sketchy) documentation, this library provides some mechanisms to simulate varying values as time-sequences (lazy streams?) Can anyone tell wether it is more/less functional/efficient than IORefs? Dimitry Golubovsky Middletown, CT

[Haskell-cafe] Haskell as data manipulation language?

2004-12-03 Thread Dimitry Golubovsky
? Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe