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

2012-03-07 Thread Dimitry Golubovsky
uch as Yesod 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-

[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 in new wiki (MSIE6)

2010-12-15 Thread Dimitry Golubovsky
how it is supposed to render? Thanks. PS I am not attaching a screenshot to the mailing list; if anyone needs to see it I'll send via personal e-mail. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[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
in browsers, this can get a second life... -- * 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
at any moment. 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/listinfo/haskell-cafe

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

2010-09-07 Thread Dimitry Golubovsky
hen by taking one object at a time 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

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

2010-09-04 Thread Dimitry Golubovsky
eturn whatever has been decoded. Thanks. --- * 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. --

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

2010-05-24 Thread Dimitry Golubovsky
parsing the d field and > translating 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 _

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

2010-05-24 Thread Dimitry Golubovsky
--- see http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation On Mon, May 24, 2010 at 10:43 AM, Henning Thielemann 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/sr

[Haskell-cafe] Haskell SVG path parser?

2010-05-24 Thread Dimitry Golubovsky
not be hard 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] 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 wrote: [skip] > numCapabilities, I think. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.

[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] GHC core packages: same core?

2009-10-13 Thread Dimitry Golubovsky
xternal > 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] GHC core packages: same core?

2009-10-12 Thread Dimitry Golubovsky
/core.pdf [2] http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/CoreSynType Thanks. -- 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
; Is this a known bug? Thanks. On Wed, Sep 30, 2009 at 10:19 AM, Dimitry Golubovsky 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 wrote: >

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

2009-09-30 Thread Dimitry Golubovsky
> http://darcs.haskell.org/ghc/compiler/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: [Haskell-cafe] Any generic serializer to String? was: Any working example of using genericserialize?

2009-09-30 Thread Dimitry Golubovsky
;just work". One 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 _

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

2009-09-30 Thread Dimitry Golubovsky
xpDeserialize $ buildList (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 Golubov

[Haskell-cafe] Externally derive instance of Data?

2009-09-11 Thread Dimitry Golubovsky
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
hat was intended, but now I see the situation more clearly. Thanks for the explanation. 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] Re: HSH and IO ()

2009-06-13 Thread Dimitry Golubovsky
unction that can take any Channel, and > produce a result as a Channel of one particular sort.  In particular, > this instance: > > instance ShellCommand (Channel -> IO Channel) where > -- Dimitry Golubovsky Anywhere on the Web ___

[Haskell-cafe] HSH and IO ()

2009-06-12 Thread Dimitry Golubovsky
versions? Thank you. * I 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] hsffig and duplicate typedef declarations

2009-05-14 Thread Dimitry Golubovsky
e at the toplevel 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. -- Dimi

[Haskell-cafe] Few Alex questions

2009-04-30 Thread Dimitry Golubovsky
or the asterisk and slash? 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
new family of tools which 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] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Dimitry Golubovsky
nd ideas for now. * 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 Golubov

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

2009-03-11 Thread Dimitry Golubovsky
were passed without proper encoding) Is there any way to get 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: "

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

2008-12-19 Thread Dimitry Golubovsky
dency allows *** Instance : Eval (Ffun a b c) d *** For class: Eval a b *** Under dependency : a -> b So, is there a way 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

[Haskell-cafe] Lines of code metrics

2008-08-21 Thread Dimitry Golubovsky
elf played with these calculations in late 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, s

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

2008-08-21 Thread Dimitry Golubovsky
rding API stability. Besides, the CouchDB interface 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] External query interface to HackageDB?

2008-06-14 Thread Dimitry Golubovsky
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] Upd: Parsec, updateState, and failure

2008-05-31 Thread Dimitry Golubovsky
succeeded) return x If p3 fails, p1 fails 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?

[Haskell-cafe] Parsec, updateState, and failure

2008-05-31 Thread Dimitry Golubovsky
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 on the Web ___ Haskell-Cafe mailing list Haskell-

[Haskell-cafe] Seen on HCAR: CoreErlang library

2008-05-30 Thread Dimitry Golubovsky
this on the mailing list. What is the current status of this Core Erlang library? I might be interested to use some parts of it in the Haskell to Erlang converter that I am currently experimenting with. Please contact me at golubovsky at gmail dot com. Thank you. -- Dimitry Golubovsky Anywhere

[Haskell-cafe] Experimental compilation of Haskell to Erlang

2008-05-18 Thread Dimitry Golubovsky
iment 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

[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
the documentation provided helps shed some light on Haskell Web programming 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

[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

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

2008-03-05 Thread Dimitry Golubovsky
omplex issues may arise 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.ha

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

2008-01-05 Thread Dimitry Golubovsky
ncreases interest to CouchDB ** Just from the -package options I used to compile it; I may 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] Re: problems building ycr2js (hopefully fixed)

2007-11-25 Thread Dimitry Golubovsky
have pushed this change too. 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 (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 th

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

[Haskell-cafe] problems building ycr2js

2007-11-25 Thread Dimitry Golubovsky
t could 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

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

2007-11-21 Thread Dimitry Golubovsky
) c) r 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 t

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

2007-11-19 Thread Dimitry Golubovsky
isible. If I have callCC $ \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 lis

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

2007-11-18 Thread Dimitry Golubovsky
ou press buttons/type anything? > > Are you aware of this issue? Now 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] New demo/test program for Yhc Javascript backend

2007-11-16 Thread Dimitry Golubovsky
d with Yhc). 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 ma

[Haskell-cafe] placing modules in the module hierarchy

2007-10-29 Thread Dimitry Golubovsky
rapefruit library: whatever is specific 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

[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

[Haskell-cafe] cpphs and #pragma

2006-12-12 Thread Dimitry Golubovsky
hanks. -- 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 source transformer?

2006-11-29 Thread Dimitry Golubovsky
s anybody know of any utility based on such parser that does 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] YCR2JS Programmers Guide Draft available

2006-11-22 Thread Dimitry Golubovsky
hanks. -- 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 force HTML (rather than XML) output from Haskell XML Toolbox?

2006-08-30 Thread Dimitry Golubovsky
r should I write my own output code (because I am guessing, hxt functionality regarding manipulation over XML trees is sufficient for what I need)? Or should I use another package? -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskel

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

2006-08-25 Thread Dimitry Golubovsky
ee 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] [Haskell] AJAX applications in Haskell

2006-08-10 Thread Dimitry Golubovsky
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 Golubovsky Anyw

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

2006-02-09 Thread Dimitry Golubovsky
cessors" Also 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] How to redirect a handle within a thread (GHC 6.4.1 runtime)?

2006-01-18 Thread Dimitry Golubovsky
arent program? I'm afraid that if I just make a foreign call to `fork', the RTS may not understand this correctly. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/l

[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

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

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 structu

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

2005-11-26 Thread Dimitry Golubovsky
thing involving 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
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 _

Re: [Haskell-cafe] records proposals list

2005-11-19 Thread Dimitry Golubovsky
n the item 4 quoted above. A class with 3 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 eve

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

2005-11-17 Thread Dimitry Golubovsky
people do use it more often than I I found it useful to use (mainly for debugging purposes) mapM (putStrLn . show) if I want to print its elements each on a new line. -- Dimitry Golubovsky Anywhere on the Web ___ Haskell-Cafe mailing list Ha

[Haskell-cafe] Darcs and the Google Base

2005-11-17 Thread Dimitry Golubovsky
"exemption request" explaining that Darcs is not a misspelling. 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 req

[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

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 gave nothing but the Workshop's schedule and ACM Library TOC. Dimitry G

[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

[Haskell-cafe] [Announce] CabalFind 0.1

2005-09-09 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 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
Freshmeat project 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

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

2005-07-27 Thread Dimitry Golubovsky
ough. Autodetecting these is great, 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 _

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

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

2005-07-27 Thread Dimitry Golubovsky
balls 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 ht

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

2005-07-23 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 be

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

2005-06-25 Thread Dimitry Golubovsky
http://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

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

2005-06-11 Thread Dimitry Golubovsky
cate passed as a parameter). In case 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 ___ Hask

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

2005-06-08 Thread Dimitry Golubovsky
ck 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
er (GHC) asked to use qualified name. Finally I ended 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 Haske

[Haskell-cafe] A Tool To Show Functions Relationship?

2005-06-06 Thread Dimitry Golubovsky
try (do tkOp "(" d <- declarator tkOp ")" return (Right d)) "idd" `declarator' and `idd' are mutually recursive, so placing them into different modules would create recursive modules. -- Dimitry Golubovsky Anywhere on the Web __

Re: [Haskell-cafe] G machine in FORTH

2005-06-01 Thread Dimitry Golubovsky
ent on this topic (although I saw some later Koopman's publications 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 ma

Re: [Haskell-cafe] A little bit OT: Google as a global directory/resolver for cabalized packages?

2005-05-02 Thread Dimitry Golubovsky
Unfortunately, Yahoo does not provide search by file suffix. Dimitry Golubovsky Middletown, CT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] A little bit OT: Google as a global directory/resolver for cabalized packages?

2005-05-02 Thread Dimitry Golubovsky
gle can index it. One weakness: too easy to spam. Could this be a (cheap) way to set up package name -> URL resolution? -- Dimitry Golubovsky Anywhere on the Web ___ 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
pothetical 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://www.haskell.o

[Haskell-cafe] FFI and pointers to pointers

2005-04-22 Thread Dimitry Golubovsky
stion is: would nesting of Ptr's work if nested pointers are imported? I haven't experimented with this yet, 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.

Re: [Haskell-cafe] Re: Closest analog to popen()

2005-04-12 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] Closest analog to popen()

2005-04-12 Thread Dimitry Golubovsky
en.hs so far, but it does not seem to be part of the standard library. -- 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: [Haskell] URLs in haskell module namespace

2005-03-24 Thread Dimitry Golubovsky
TTL, so further recompilations do not result 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] Parsec question: how to access parser state

2005-03-20 Thread Dimitry Golubovsky
er. How could I 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://

Re: [Haskell-cafe] invalid character encoding

2005-03-19 Thread Dimitry Golubovsky
ether, 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 Golub

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

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
nment: 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/ma

[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

  1   2   >