Re: [Haskell-cafe] reasons why Template Haskell does not propose something similar to Python exec() or eval()

2013-08-24 Thread Marc Weber
application to compile a module, then run that code. Eg see this example to get started http://mawercer.de/tmp/haskell-dyn-loading-example.zip Origin of most ideas was this site: http://codeutopia.net/blog/2011/08/20/adventures-in-haskell-dynamic-loading-and-compiling-of-modules/ Marc Weber

Re: [Haskell-cafe] ANNOUNCE: module-management-0.9.3 - clean import lists, split and merge modules

2013-06-28 Thread Marc Weber
cleanImports FOO And everything would work without --dist-dir=dist-foo parameter ? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANNOUNCE: module-management-0.9.3 - clean import lists, split and merge modules

2013-06-27 Thread Marc Weber
optional by using cabal flags). (before library/ executables): flag build_test description: build the test executable default: Fales To the executable add: if !flag(build_test) buildable: False Marc Weber ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] ANNOUNCE: module-management-0.9.3 - clean import lists, split and merge modules

2013-06-27 Thread Marc Weber
is m (), so doesn't help much. Consider improving that documentation. More questions: input/output. findPaths Language = runMonadClean . mapM cleanImports . toList Whose task is it to write the new cleaned up module to disk again? does runMonadClean do it for me? Docs don't tell yet. Marc

Re: [Haskell-cafe] ANNOUNCE: module-management-0.9.3 - clean import lists, split and merge modules

2013-06-27 Thread Marc Weber
happen to have 50 symbols) you may want to consider telling the user that he knows what to expect - and that you welcome patches to make this even nicer and more useful. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Ticking time bomb

2013-03-22 Thread Marc Weber
code checked by multiple parties alreday is a great improvement. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Specify compile error

2012-05-03 Thread Marc Weber
Is there a way to make it a compile time error?? http://en.wikibooks.org/wiki/Haskell/GADT It may pay off talking about your specific use case. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

[Haskell-cafe] hasktags - etags backend, any reason to not remove function arguments from tag files?

2012-03-20 Thread Marc Weber
to ask whether this is intention or a bug. The fix is trivial: use name of FoundThing instead of concat (take (token + 1) $ spacedwords fullline) Is there any reason to keep current behaviour? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] hasktags - etags backend, any reason to not remove function arguments from tag files?

2012-03-20 Thread Marc Weber
Excerpts from Herbert Valerio Riedel's message of Tue Mar 20 15:38:54 +0100 2012: [1]: http://en.wikipedia.org/wiki/Ctags#Etags_2 \0x7f and \0x1 record and pushed this fix. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] strict version of Haskell - does it exist?

2012-01-31 Thread Marc Weber
_ - m _ - m Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] strict version of Haskell - does it exist?

2012-01-31 Thread Marc Weber
. Thanks for your help. Maybe I can setup profiling again to understand why its still taking little bit more time. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] strict version of Haskell - does it exist?

2012-01-31 Thread Marc Weber
mail) I also tried json' vs json (strict and non strict versions) - didn't seem to make a big difference. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Exceeding OS limits for simultaneous socket connections

2012-01-30 Thread Marc Weber
or chunk the messages. Eg wait for 5 requests - then bundle them and send them all at once (depneds on your implementation whether this could be an option). That's all which comes to my mind. Probably more experienced users have additional ideas. Thus keep waiting and reading. Marc Weber

Re: [Haskell-cafe] strict version of Haskell - does it exist?

2012-01-30 Thread Marc Weber
that the Haskell community is the most helpful I know about. Yet I think me being the programmer Haskell is the wrong choice for this task. Thanks Marc Weber my new attempt - now I should start profiling.. Looks like I haven't built all libs with profiling support .. import Data.Aeson.Types

[Haskell-cafe] strict version of Haskell - does it exist?

2012-01-29 Thread Marc Weber
ago I had to do some logfile analysis. I ended doing it in PHP because optimizing the Haskell code took too much time. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] strict version of Haskell - does it exist?

2012-01-29 Thread Marc Weber
everywhere possible? Then simple use case like this would not be a huge challenge. Maybe you're right: I should just prepare some dummy files and ask the community to help. However optimizing the JSON parser and my code just seemed to be too much effort .. Marc Weber

Re: [Haskell-cafe] What happens if you get hit by a bus?

2011-12-16 Thread Marc Weber
and provide services as team. But in the end its a matter of costs: If you have to share ideas - if you have to keep each other up to date it'll take more time and somebody has to pay for it in the end.. Its not only a Haskell vs RoR qusetion IMHO. Marc Weber

Re: [Haskell-cafe] DB vs read/show for persisting large data

2011-12-14 Thread Marc Weber
a look at the derive package (hackage) which can derive more instances than just read/show (eg json). You can still use a sqlite database use it as binary storage... Depends on whether all your data fits into memory. Marc Weber ___ Haskell-Cafe mailing

Re: [Haskell-cafe] capri cabal-dev virtualenv cab

2011-11-08 Thread Marc Weber
comment on them. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Is there still at list of active Haskell projects

2011-09-24 Thread Marc Weber
recently. Eventually you're looking for hackage.haskell.org? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANNOUNCE: lushtags, haskell ctags for Vim Tagbar plugin

2011-09-20 Thread Marc Weber
says with knowledge of import lists and qualified imports. It provides a smart go-to-definition for vim Did you know that taglist plugin for Vim should also automatically regenerate tag files for the current buffer? Marc Weber ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Ur tutorial, and a challenge

2011-07-27 Thread Marc Weber
be partially wrong :( Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Vi mode in ghci?

2011-06-10 Thread Marc Weber
You can also get vim-addon-async [1] and run ghci inside Vim. Then you can use all Vim goodness. [1]: requires client-server. Tested on Linux and Mac http://github.com/MarcWeber/vim-addon-async Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Further installation adventures

2011-05-23 Thread Marc Weber
. Maybe they don't fit your distro. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Using cmake with haskell

2011-05-11 Thread Marc Weber
, .. or such. Sourceforge projects can even flag themselves as need help at Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Local copy of hackageDB

2011-04-07 Thread Marc Weber
Local copy ? You know that hackage is hosting several thausands of source archives - also old versions you don't want? Do you want to mirror everything locally? Fetching latest versions only to generate hashes takes many hours. (Experience from hack-nix). Marc Weber

[Haskell-cafe] ghci Vim completion within Vim - need some advice

2011-03-17 Thread Marc Weber
prompt sends data to /dev/tty (the controlling terminal) rather than to stdout/err. I don't know how to fix issue 2). Any ideas? The result could look like this python REPL screenshot: http://mawercer.de/~marc/vim-addon-async-python-repl.jpg Marc Weber

Re: [Haskell-cafe] groupBy huh?

2011-03-03 Thread Marc Weber
1 3 dito 1 2 dito Thus you get [[1,2,3,2]] Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] type safe web forms at compile time Was: Re: Ur vs Haskell

2011-03-02 Thread Marc Weber
forms. Its also about checking SQL queries. And urweb seems to do this very well. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Is there something better than tags?

2011-02-22 Thread Marc Weber
information out, but I only know about scion which comes closest to what you ask for. (http://github.com/MarcWeber/scion-backend-vim) Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Is there something better than tags?

2011-02-22 Thread Marc Weber
Excerpts from Peter Hercek's message of Tue Feb 22 14:54:53 +0100 2011: Is this a correct summary? If nothing changed then yes. I didn't follow most recent development of scion. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] community server hasktags learned recursing into directories

2011-02-04 Thread Marc Weber
? (uploading it to github would take seconds only) Moreover I fonud that I was no longer subscribed to haskell-cafe. I can't remember having unsubscribed ? Let's hope this mail get's through now after having resubscribed. Marc Weber ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] ActionScript Byte Code backend ?

2010-11-09 Thread Marc Weber
? There is another reference project: HaXe (its not Haskell. But it targets Flash 10) In theory AS3 is very close to JS. So the experimental JS targets could be a solution as well ... Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Re: Haskell at bettercodes.org

2010-09-22 Thread Marc Weber
only. Then you can enhance the interface by adding onclick attributes etc. But its still browsable by elinks and search engines by using usual href attributes. If you think about it you may find a solution which satisfies both needs. Marc Weber ___ Haskell

Re: [Haskell-cafe] can Haskell do everyting as we want?

2010-08-04 Thread Marc Weber
for the given problem. Because recoding can sometimes take longer. And eg the Java community has been much bigger in the past - thus there are more libraries available. Eg Haskell has no htmlunit yet which interpretes JavaScript and simulates a headless browser etc. Marc Weber

Re: [Haskell-cafe] Suggestions for an MSc Project?

2010-07-08 Thread Marc Weber
start writing something like db4o in and for Haskell. Its like a transactional database operating on objects. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] bug in ghci ?

2010-07-08 Thread Marc Weber
implementation of Test: Test ++ s Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Talking to Java from Haskell?

2010-07-08 Thread Marc Weber
reimplement the protocol also depends on whether speed is an issue. If nobody picked up and started to work on Java interaction I think you're right that b is the fastest option. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] What is Haskell unsuitable for?

2010-06-15 Thread Marc Weber
the other way round: Pick a task and ask which is the best tool to get the job done. But I think those items are obvious. Of course this is my point of view. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] Harder than you'd think

2010-06-13 Thread Marc Weber
and use that as key. Let me know whether this is what you were looking for. I tried writing something like this. Yet SQL gives all this stiff for free. I still wonder which is the nicest way to express this data in Haskell without coding everything yourself.. Yours Marc Weber

Re: [Haskell-cafe] Harder than you'd think

2010-06-13 Thread Marc Weber
I'm not even sure whether I should recommend reading my code :) All I want to say: Its a little bit of work which is highly appreciated by many Haskellers IMHO. If you start such a project keep posting updates to the list. I'll read them. Marc Weber

Re: [Haskell-cafe] How to browse code written by others

2010-06-13 Thread Marc Weber
bases. Of course they are not language aware but they often get the job done. I'd like to share all my scripts. Write me an email if you're interested. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Similarities between web programming and functional programming

2010-06-12 Thread Marc Weber
. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Marc Weber
based on the Nix distribution system which provides this feature natively. You can even ask others computers to help building dependencies quite easily. Downside: At the moment it will pull all depndencies (including kernel headers and glibc..) if you install it on a common linux system. Marc Weber

[Haskell-cafe] Re: The state of Hackage: what are we doing about it?

2010-06-01 Thread Marc Weber
react upon wishes of users faster than everything else: http://haskell.org/haskellwiki/Hackage_wiki_page_per_project_discussion Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] darcs to mercurial migration

2010-05-07 Thread Marc Weber
Hi Günther, tehre is a fast darcs to git tool. Maybe you can convert to mercurial easily then. Ping me on irc (MarcWeber) or write back if you're interested. I'll digg the link up then. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Abstracted File Library?

2010-04-26 Thread Marc Weber
such a library? Which functions should this library have? I'm pretty sure that filepath already has most functions you need. You may want to patch it so that it's using / on Windows when assembling paths form lists of directory names. Marc Weber ___ Haskell

Re: [Haskell-cafe] Abstracted File Library?

2010-04-26 Thread Marc Weber
way which would work for you only is making pathSeparator return / only. Then you're done but your code will not be portable.. Including a local copy of filepath for exactly this reason could be an option for you. isSymbolicLink, linkCounts, etc. Don't know about them.. Marc Weber

Re: [Haskell-cafe] ANNOUNCE: Agata-0.2.0

2010-04-18 Thread Marc Weber
If this is to be used with QuickCheck maybe it should be named that way. eg quickcheck-agatath ? This way its found faster. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] hsql repository

2010-04-07 Thread Marc Weber
to continue: Get hackage version. Copy the mover into the darcs repository. Ask Nick (Jörg Rudnick) whether he wants credits. Make a darcs commit giving it a message such as fix some extensible Exceptions stuff. patch provided by Joerg Rudnick and continue HTH Marc Weber

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-05 Thread Marc Weber
Well, Is the real name uniq enough? I mean if I google for Marc Weber many Haskell related posts show up. So yes, this is me - but there are also many false hits. So I for my part do no longer trust google results if I want to judge a person. It gives some hints - you can verify by asking

Re: [Haskell-cafe] Are there any web server framework ?

2010-03-16 Thread Marc Weber
this in real world applications though). Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] compiler management for Haskell a la RVM?

2010-03-16 Thread Marc Weber
show you how it works if you're interested. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] a poorly thought out suggestion for cabal and packages that have lots of instances

2010-03-15 Thread Marc Weber
a new package? Is there something I've missed? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] a poorly thought out suggestion for cabal and packages that have lots of instances

2010-03-15 Thread Marc Weber
Excerpts from Ivan Miljenovic's message of Tue Mar 16 01:53:13 +0100 2010: On 16 March 2010 11:50, Marc Weber marco-owe...@gmx.de wrote: I may be mistaken - but can't you just put the instance in a module (within syb-with-class) and make syb-with-class not import it by default

[Haskell-cafe] Re: [Haskell] ANNOUNCE: Bravo-0.1.0

2010-03-11 Thread Marc Weber
Hi Matthias, Bravo is inspired by the PHP template engine Smarty and the Haskell Smarty is also about caching. Can you say whether your library support kind of caching as well? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Cabal dependency hell

2010-03-08 Thread Marc Weber
interested in Nix and hack-nix I can show you how everything works using an SSH session. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Books for advanced Haskell

2010-03-01 Thread Marc Weber
programming (no monads, no type-classes) quite a long way. Whatever pointers may appear here they should be put on the Haskell wiki for future reference. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] Re: Bug#570284: O: washngo

2010-02-25 Thread Marc Weber
to miss having read some of its code. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Bug#570284: O: washngo

2010-02-25 Thread Marc Weber
Hi, It compiles even with ghc HEAD with very minimal cabal adjustments. I will upload it to hackage soon. Whether it is a debian package or not isn't that important (IMHO). Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] How can i run darcs in ghci?

2010-02-16 Thread Marc Weber
if you're stuck that's the appropriate place to ask questions (or try irc) Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How can i run darcs in ghci?

2010-02-15 Thread Marc Weber
(?). Another way to find those flags fast is running ./Setup -v3 which will output the ghc commands cabal is running. HTH Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Virus alert while installing happstack

2010-02-14 Thread Marc Weber
. Maybe delete the file and redownload it to make sure that it wasn't modified while traveling through the net? You can also paste the md5sum of those executables. Maybe someone else can verify them easily. Good luck Marc Weber ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Anyone recommend a VPS?

2010-01-31 Thread Marc Weber
until switching to linode. NixOS was up and running within 30min then.. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-22 Thread Marc Weber
add old-time-1.0.0.2 to the _end_ of the build-depends line: cabal: haskelldb-hsql-sqlite3.cabal:7: Parse of field 'build-depends' failed. This is a cabal issue. Get a newer cabal and retry. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Marc Weber
if you start working on this. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Marc Weber
. That will be faster if that works Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Language simplicity

2010-01-13 Thread Marc Weber
As you can see, this conclusively proves... something. What about brainfuck? 8 different signs are used. - http://de.wikipedia.org/wiki/Brainfuck#cite_note-0 The first link points to a page saying there is an interpreter 98 bytes in size.. What does this prove? :-) Marc Weber

Re: [Haskell-cafe] status of wash?

2010-01-12 Thread Marc Weber
can give more information. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-13 Thread Marc Weber
is a nice source of information. It's a wiki as well. What makes haskell.org/haskellwiki (all other pages) that much different from what I propose? Let's wait and see what beginners think. Thank you very much for participating Marc Weber ___ Haskell-Cafe mailing

[Haskell-cafe] Re: What about adding a wiki for each haskell project?

2009-12-12 Thread Marc Weber
Excerpts from Duncan Coutts's message of Sat Dec 12 03:26:30 +0100 2009: On Sat, 2009-12-12 at 01:00 +0100, Marc Weber wrote: hackage is success because: a) many (most) people do use it (by uploading packages) b) it is a comprehensive list of availible packages if not the most

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Marc Weber
others may edit as well. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Marc Weber
to the wiki page? http://haskell.org/haskellwiki/?title=Hackage_wiki_page_per_project_discussionaction=edit Keep in mind that if we host the wiki pages on haskell.org they are found by the haskell.org search. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe

[Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-11 Thread Marc Weber
not make it easier for all to add one? Thoughts ? Currently my goal is updating some common packages so that they use extensible exceptions and base4. But when working on some patches I'd like to tell people that I'm doing so. I can't in an easy way. That's why I'm starting this thread. Marc

Re: [Haskell-cafe] Checking dependencies from C packages in cabal

2009-12-09 Thread Marc Weber
tracker for Cabal. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANNOUNCE managing cabal dependencies using nix and hack-nix

2009-11-24 Thread Marc Weber
and major changes. Thanks for listening and for any feedback in advance. Marc Weber NOTES: [1]: Of course nix runs on cygwin as well. However nothing has been tested so quite some effort has to be spent making this work on Windows as well. [2]: If you have a dependency chain glibc - lib

Re: [Haskell-cafe] Suggestion: define a standard keyboard codes library?

2009-08-26 Thread Marc Weber
AFAIK. It forwards key input to the other system over network. This could be a source of additional information. However I haven't looked at the code yet. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Re: Planning for a website

2009-08-19 Thread Marc Weber
/browse_thread/thread/961ab7cc28f1f91f Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] what about adding a HIDE pragma ?

2009-07-22 Thread Marc Weber
this.module Adding a pragma like HIDE, EXPORT is only a small change but can make a big difference in everyday life ? Can template haskell add those pragmas as well? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Debugging methods for haskell

2009-07-15 Thread Marc Weber
/ HTH Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] haskell.org: what can be improved causing what efforts?

2009-07-10 Thread Marc Weber
) c) [+] Headlines a) b) c) [+] Recent Package Updates a) b) c) [+] Do you see that you can make the user be aware of all three headlines without having to scroll? Overall haskell.org is a great resource! Let's the value of its contens, please. Marc Weber

Re: [Haskell-cafe] ORM for haskell?

2009-07-02 Thread Marc Weber
a unsafeFromNull like function all the time or not. Time will tell how much energy I can spend on such this topic in the future. cu all Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ORM for haskell?

2009-06-30 Thread Marc Weber
of storage solution for haskell which could be used in real world business apps? Maybe this does already exist and I've missed it? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ORM for haskell?

2009-06-30 Thread Marc Weber
Hi Mads! On Tue, Jun 30, 2009 at 11:49:40PM +0200, Mads Lindstrøm wrote: Hi Marc Weber Another example: Updating the age of a pupil: row = SELECT * FROM pupils where age = 13; UPDATE pupils SET age = 14 WHERE id = the id you got above p = session.query(Pupil).filter

[Haskell-cafe] Practise of hiding contsructors and serialization

2009-02-22 Thread Marc Weber
be serialzied quickly? I don't like Rational because the unit information 1e-12[s] is no longer included in the type.. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Practise of hiding contsructors and serialization

2009-02-22 Thread Marc Weber
I usually use Data.Binary for serialization. Sure. But you can't derive Data.Binary easily for NominalDiffTime. That's the point. You can only do so by using toReal or by adding data MyOwnPico = MyOwnPico only to create serialization instances. I don't like this kind of code duplication..

Re: [Haskell-cafe] hslogger bugs or features - patches

2009-02-16 Thread Marc Weber
isn't exported either?) Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] attempt creating alternative logging lib which is actually much slower (?)

2009-02-12 Thread Marc Weber
learned that I'm very bad at troubleshooting performance. I really thought I could make mlog faster than hslogger*. Using profiling (-P) didn't reveal the source wasting CPU cycles to me. Sincerly Marc Weber [ some code snippets of mlog] the global logger data looks like this: data

[Haskell-cafe] Re: hslogger bugs or features?

2009-02-03 Thread Marc Weber
(in getLogger). The cloned value is no longer affected by when changing the top level logging priority. So this example makes hackage hslogger log both lines. So I consider this a beeing a (small) bug. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] Bytestrings vs String? parameters within package names?

2009-02-03 Thread Marc Weber
On Mon, Feb 02, 2009 at 10:41:57PM -0500, wren ng thornton wrote: Marc Weber wrote: Should there be two versions? hslogger-bytestring and hslogger-string? I'd just stick with one (with a module for hiding the conversions, as desired). Duplicating the code introduces too much room

Re: [Haskell-cafe] hslogger bugs or features - patches

2009-02-03 Thread Marc Weber
an idea what the library really does. Anyway the least thing I need is the NOTSET logger level setting. Wether we call it Nothing or NOTSET doesn't matter. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Re: 1,000 packages, so let's build a few!

2009-02-02 Thread Marc Weber
and that's it. So if you have a solution for that I'd consider resuming work on it Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Bytestrings vs String?

2009-02-02 Thread Marc Weber
compelling to me. Thoughts? Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] hslogger bugs or features - patches

2009-02-02 Thread Marc Weber
repository. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] circular dependencies in cabal

2009-02-01 Thread Marc Weber
from process only without passing data from one to the other so chances are good that your app will work nevertheless. Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] hslogger bugs or features?

2009-01-31 Thread Marc Weber
to get all log messages. So I feel this is a bug as well. I neither have checkeg the logcxx nor log4j nor the reference implementation in python. Thoughts? Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Haskell Web Framework

2009-01-26 Thread Marc Weber
about JS automatic compression (maybe even rewriting names to shorter ones)? Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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

2009-01-15 Thread Marc Weber
foo = [$mystr|abc\N{VULGAR FRACTION ONE HALF}] Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Computer time, independent of date

2009-01-08 Thread Marc Weber
Is there an alternative? Something like how much time has passed since the program has started would be great. Have a look at benchpress on hackage. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Transactional container for storing anonymous deletable objects

2008-12-28 Thread Marc Weber
an identifier so that it can be removed by id again? There are many ways. Probably something like Data.Map or finger trees will do very well.. (use Int as key type and use max + 1 when inserting a new one or such?) I hope I've helped you in some way.. Sincerly Marc Weber

  1   2   3   >