[Haskell-cafe] Praise for xmonad :-)

2007-09-27 Thread Magnus Therning
Seems xmonad is feeling the love. The attached mail turned up on the debian-user mailing list. It's high time xmonad gets packaged for Debian! /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http

[Haskell-cafe] Hosting of Haskell project

2007-10-10 Thread Magnus Therning
not locate any option for publishing haddock pages. :-( Have I missed anything? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus The British have the perfect temperament to be hackers

Re: [Haskell-cafe] Filesystem questions

2007-10-13 Thread Magnus Therning
as a lazy Data.Tree? http://therning.org/magnus/index.php?tag=haskellpaged=3 Not really what you're looking for, but hopefully it's a good place to start. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http

Re: [Haskell-cafe] Hosting of Haskell project

2007-10-15 Thread Magnus Therning
forgotten how I did it... I remember it being remarkably easy though. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus signature.asc Description: Digital signature

Re: [Haskell-cafe] Hosting of Haskell project

2007-10-15 Thread Magnus Therning
On Sun, Oct 14, 2007 at 15:22:13 +0100, Ian Lynagh wrote: On Wed, Oct 10, 2007 at 05:05:28PM +0100, Magnus Therning wrote: I've almost reached a state where I wouldn't be ashamed of sharing the code so I looked into my options of free hosting. It seems I only have one option for publishing

Re: [Haskell-cafe] Hosting of Haskell project

2007-10-15 Thread Magnus Therning
On Mon, Oct 15, 2007 at 09:24:28 +0200, Gour wrote: On Mon, 15 Oct 2007 07:36:55 +0100 Magnus Therning [EMAIL PROTECTED] wrote: There is support for darcs in tracs as well. I never got around to writing a blog post about setting up darcs+trac+lighttpd on Debian and by now I fear I've

[Haskell-cafe] Automatic file closing after readFile

2007-10-18 Thread Magnus Therning
? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate

Re: [Haskell-cafe] Automatic file closing after readFile

2007-10-18 Thread Magnus Therning
to suspect there is no automatic close of opened files even after they've been completely read. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus pgpB34xnOe4q7.pgp Description: PGP

Re: [Haskell-cafe] Automatic file closing after readFile

2007-10-18 Thread Magnus Therning
On Thu, Oct 18, 2007 at 20:58:45 +1000, Matthew Brecknell wrote: Magnus Therning: hasEmpty s = let _first_empty = s !! 0 == '\n' _last_empty = (reverse s) !! 1 == '\n' in _first_empty || _last_empty loadAndCheck fp = liftM hasEmpty $ readFile fp

Re: [Haskell-cafe] Automatic file closing after readFile

2007-10-18 Thread Magnus Therning
On Thu, Oct 18, 2007 at 09:25:32 -0400, David Roundy wrote: On Thu, Oct 18, 2007 at 01:16:37PM +0100, Magnus Therning wrote: On Thu, Oct 18, 2007 at 20:58:45 +1000, Matthew Brecknell wrote: For a less hackish solution, you need to do a bit more work. Again, this is untested. loadAndCheck fn

Re: [Haskell-cafe] Automatic file closing after readFile

2007-10-18 Thread Magnus Therning
On Thu, Oct 18, 2007 at 22:58:48 +1000, Matthew Brecknell wrote: Magnus Therning: Still no cigar :( Yes, this is a little more subtle than I first thought. Look at liftM and filterM: liftM f m1 = do { x1 - m1; return (f x1) } filterM :: (Monad m) = (a - m Bool) - [a] - m [a] filterM

Re: [Haskell-cafe] Automatic file closing after readFile

2007-10-18 Thread Magnus Therning
On Thu, Oct 18, 2007 at 22:58:48 +1000, Matthew Brecknell wrote: Magnus Therning: Still no cigar :( Yes, this is a little more subtle than I first thought. Look at liftM and filterM: liftM f m1 = do { x1 - m1; return (f x1) } filterM :: (Monad m) = (a - m Bool) - [a] - m [a] filterM

Re: [Haskell-cafe] Automatic file closing after readFile

2007-10-19 Thread Magnus Therning
On Fri, Oct 19, 2007 at 02:09:01 +1000, Matthew Brecknell wrote: Magnus Therning: Just out of curiosity, how would I go about finding this myself? (Ideally it'd be an answer other than read the source for the libraries you are using. :-) Well, I can at least try to expand a little on read

[Haskell-cafe] ANNOUNCE: dataenc 0.9

2007-10-23 Thread Magnus Therning
My collection of data encoding functions are now available at http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dataenc-0.9: Dependencies base License LGPL Copyright Magnus Therning, 2007 AuthorMagnus Therning Maintainer

Re: [Haskell-cafe] ANNOUNCE: dataenc 0.9

2007-10-24 Thread Magnus Therning
On Tue, Oct 23, 2007 at 15:50:54 +0200, Yitzchak Gale wrote: Magnus Therning wrote: My collection of data encoding functions are now available Nice! Should this effort be coordinated with Unicode-related encoding/decoding? See the Encoding class in Twan van Laarhoven's CompactString library

Re: [Haskell-cafe] [OT] GHC uninstall on Linux

2007-11-08 Thread Magnus Therning
and /usr/local/bin/gh* ? Thanks for any hint Depending on what distro you are using you might find checkinstall[1] insteresting. If it doesn't support your distro of choice, maybe you can add support for it :-) /M [1]: http://asic-linux.com.mx/~izto/checkinstall/ -- Magnus Therning

Re: [Haskell-cafe] expanded standard lib

2007-11-21 Thread Magnus Therning
similar concerns have been raised for Python's eggs. /M [1]: http://pkg-ruby-extras.alioth.debian.org/rubygems.html -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus signature.asc

Re: [Haskell-cafe] [Offtopic?] Cabal package license and copyright holder question

2007-11-21 Thread Magnus Therning
://www.haskell.org/crypto/ -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus signature.asc Description: Digital signature ___ Haskell-Cafe mailing

[Haskell-cafe] Problems with split-objs

2007-11-26 Thread Magnus Therning
generated files, and the file that passes `--enable-split-objs' is automatically generated :( /M [1]: http://haskell.org/haskellwiki/Creating_Debian_packages_from_Cabal_package [2]: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/vty-3.0.0 -- Magnus Therning

Re: [Haskell-cafe] Hoogle works once more

2007-12-06 Thread Magnus Therning
is decided upon, it will only be for the near future. Once Hoogle 4 is finished, every library on Hackage will be searched as an equal. This is great news. I've always missed System.Posix and Network.BSD in Hoogle. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus

[Haskell-cafe] ANNOUNCE: dataenc-0.10.1

2007-12-12 Thread Magnus Therning
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yesterday I uploaded a small update to the dataenc library: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dataenc-0.10.1 Dependenciesbase License LGPL Copyright Magnus Therning, 2007 Author Magnus Therning Maintainer

[Haskell-cafe] ANNOUNCE: dataenc-0.10.1

2007-12-12 Thread Magnus Therning
Yesterday I uploaded a small update to the dataenc library: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dataenc-0.10.1 Dependenciesbase License LGPL Copyright Magnus Therning, 2007 Author Magnus Therning Maintainer [EMAIL PROTECTED] Exposed modules

[Haskell-cafe] Not sure where to send this: delivery failure to community.haskell.org

2007-12-13 Thread Magnus Therning
to [EMAIL PROTECTED] I wonder if that could be the cause of the problem (I've noticed I'm unable to post to any of the haskell mailing lists that way). /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http

Re: [Haskell-cafe] Problems with split-objs

2007-12-14 Thread Magnus Therning
On Dec 14, 2007 12:14 AM, Duncan Coutts [EMAIL PROTECTED] wrote: On Mon, 2007-11-26 at 22:48 +, Magnus Therning wrote: I've followed the instructions at [1] to create a .deb of vty[2]. It seems the helper scripts for Debian passes `--enable-split-obj' when running `./Setup.lhs

[Haskell-cafe] OT: ghc 6.8 in Debian?

2007-12-28 Thread Magnus Therning
announcing the availability of the core package. Since then it seems very little has happened. What can I do to help, if anything? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus What

Re: [Haskell-cafe] Re: Haskell-friendly Linux Distribution

2010-03-28 Thread Magnus Therning
more for Arch. I have to say it looks like Debian has gotten their act together somewhat when it comes to Haskel development. Many of the reasons for my deserting Debian seem have been taken care of. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus@therning.org

Re: [Haskell-cafe] Re: Haskell-friendly Linux Distribution

2010-03-28 Thread Magnus Therning
On 28/03/10 12:53, Joachim Breitner wrote: Hi, Am Sonntag, den 28.03.2010, 09:04 +0100 schrieb Magnus Therning: I have to say it looks like Debian has gotten their act together somewhat when it comes to Haskel development. Many of the reasons for my deserting Debian seem have been taken

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-07 Thread Magnus Therning
, but not *that* useful for regular users I guess. Would it be possible to put it easily accessible for administrators (people who are allowed to add users), but hide it away a bit for non-admins? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber

Re: [Haskell-cafe] what does the '~' mean ?

2010-04-16 Thread Magnus Therning
getFixed = getFixed2 (,) in `size` function, what does the `~` mean ? A lazy pattern match: http://en.wikibooks.org/wiki/Haskell/Laziness (there is a better name for it, but I can't remember). Irrefutable patterns? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Magnus Therning
the official/published repo buildable at all times. I keep my development environment local or sometimes in an un-advertised repo. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca

Re: [Haskell-cafe] Using a library in a executable within same cabal package

2010-04-24 Thread Magnus Therning
/tagsoup/0.8/tagsoup.cabal -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe signature.asc Description: OpenPGP digital signature

Re: [Haskell-cafe] Compressing GHC tarballs with LZMA

2010-04-24 Thread Magnus Therning
? How common is support for .xz on the platforms we are interested in here? I just passed a .tar.xz to a Mac user and got an email back that he couldn't unpack it. Rather than dig deeper I just sent him a .tar.gz, so I don't know what tool he was using. /M -- Magnus Therning

Re: [Haskell-cafe] installing haskell platform on 64-bit ubuntu 10.04 (Lucid)

2010-05-08 Thread Magnus Therning
'cause it can't build the hello world test program, complaining: command line: unknown package: haskell98 Anyone else seen this? Am I missing something obvious? What does 'ghc-pkg list|grep haskell' show? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus

Re: [Haskell-cafe] Marshalling

2010-07-13 Thread Magnus Therning
anyone know a way I can test this and fix it? What kind of marshalling are you referring to? /M -- Magnus Therning                        (OpenPGP: 0xAB4DFBA4) magnus@therning.org          Jabber: magnus@therning.org http://therning.org/magnus         identi.ca|twitter: magthe

[Haskell-cafe] Running tests in Cabal

2010-07-18 Thread Magnus Therning
In my Cabal file I have defined a flag that controls whether tests are built or not. Now I'd like to hook it up a bit more so that './Setup.hs test' actually runs the tests. I haven't found a way to access that configuration flag in my hook though. Is it not available in some way? Currently

Re: [Haskell-cafe] Running tests in Cabal

2010-07-18 Thread Magnus Therning
On 18/07/10 20:55, Rogan Creswick wrote: On Sun, Jul 18, 2010 at 12:23 PM, Magnus Therning mag...@therning.org wrote: In my Cabal file I have defined a flag that controls whether tests are built or not. Now I'd like to hook it up a bit more so that './Setup.hs test' actually runs the tests

Re: [Haskell-cafe] Running tests in Cabal

2010-07-19 Thread Magnus Therning
On 19/07/10 07:14, Johan Tibell wrote: On Sun, Jul 18, 2010 at 9:23 PM, Magnus Therning mag...@therning.orgwrote: In my Cabal file I have defined a flag that controls whether tests are built or not. Now I'd like to hook it up a bit more so that './Setup.hs test' actually runs the tests. I

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-21 Thread Magnus Therning
successfully using hooks with the following in my .cabal file: Build-Type: Simple and my main in Setup.hs looks like this: main = defaultMainWithHooks $ simpleUserHooks { cleanHook = profileClean , runTests = runTestsBuild } /M -- Magnus Therning

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-22 Thread Magnus Therning
On Wed, Jul 21, 2010 at 17:43, Rogan Creswick cresw...@gmail.com wrote: On Wed, Jul 21, 2010 at 3:00 AM, Magnus Therning mag...@therning.org wrote: I am successfully using hooks with the following in my .cabal file:    Build-Type    : Simple and my main in Setup.hs looks like

Re: [Haskell-cafe] Experiences with cabal-install and Hackage

2010-07-22 Thread Magnus Therning
github/bitbucket supports forks on a VCS level. I'm not convinced it's a common enough situation to be worth the hassle though. /M -- Magnus Therning                        (OpenPGP: 0xAB4DFBA4) magnus@therning.org          Jabber: magnus@therning.org http://therning.org/magnus         identi.ca

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-22 Thread Magnus Therning
On Thu, Jul 22, 2010 at 10:59, Ross Paterson r...@soi.city.ac.uk wrote: On Wed, Jul 21, 2010 at 09:43:16AM -0700, Rogan Creswick wrote: On Wed, Jul 21, 2010 at 3:00 AM, Magnus Therning mag...@therning.org wrote: I am successfully using hooks with the following in my .cabal file:    Build

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-22 Thread Magnus Therning
On Thu, Jul 22, 2010 at 11:52, Ross Paterson r...@soi.city.ac.uk wrote: On Thu, Jul 22, 2010 at 11:31:21AM +0100, Magnus Therning wrote: On Thu, Jul 22, 2010 at 10:59, Ross Paterson r...@soi.city.ac.uk wrote: Magnus is building by directly running the Setup.hs himself, which ignores

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-23 Thread Magnus Therning
On Fri, Jul 23, 2010 at 03:33, wren ng thornton w...@freegeek.org wrote: Magnus Therning wrote: On Thu, Jul 22, 2010 at 11:52, Ross Paterson r...@soi.city.ac.uk wrote: On Thu, Jul 22, 2010 at 11:31:21AM +0100, Magnus Therning wrote: On Thu, Jul 22, 2010 at 10:59, Ross Paterson r

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-23 Thread Magnus Therning
On Fri, Jul 23, 2010 at 04:58, Mark Wotton mwot...@gmail.com wrote: On Fri, Jul 23, 2010 at 12:33 PM, wren ng thornton w...@freegeek.org wrote: Magnus Therning wrote: On Thu, Jul 22, 2010 at 11:52, Ross Paterson r...@soi.city.ac.uk wrote: On Thu, Jul 22, 2010 at 11:31:21AM +0100, Magnus

Re: [Haskell-cafe] hGetContents: resource exhausted

2010-07-26 Thread Magnus Therning
of filedescriptors. /M -- Magnus Therning                        (OpenPGP: 0xAB4DFBA4) magnus@therning.org          Jabber: magnus@therning.org http://therning.org/magnus         identi.ca|twitter: magthe ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Haskell Forum

2010-07-26 Thread Magnus Therning
to work OK.  Perhaps something like that would be useful? This would be a good compromise. /M -- Magnus Therning                        (OpenPGP: 0xAB4DFBA4) magnus@therning.org          Jabber: magnus@therning.org http://therning.org/magnus         identi.ca|twitter: magthe

Re: [Haskell-cafe] Haskell Forum

2010-07-26 Thread Magnus Therning
On 26/07/10 22:01, Andrew Coppin wrote: Brandon S Allbery KF8NH wrote: On 7/26/10 15:56 , Andrew Coppin wrote: My personal preference would be for NNTP. It seems to handle threading much better. You can easily kill threads you're not interested in, and thereafter not bother downloading

Re: [Haskell-cafe] Haskell Forum

2010-07-28 Thread Magnus Therning
On 27/07/10 18:58, Andrew Coppin wrote: Magnus Therning wrote: On 26/07/10 22:01, Andrew Coppin wrote: So I'm told. But it appears that some people believe that NNTP *is* Usenet, which is not the case. I use NNTP almost every single day, but I've never seen Usenet in my life... So

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-04 Thread Magnus Therning
style. Frame version: http://www.ozonehouse.com/mark/snap-xhtml/frames.html Also very good looking. Does the current stable version of Haddock really create a frame version? I've never seen one before... /M -- Magnus Therning                        (OpenPGP: 0xAB4DFBA4) magnus@therning.org

[Haskell-cafe] YAHT: Ex 9.2

2006-10-29 Thread Magnus Therning
= f x Left s = _ = Left s Which results in exactly the same error message. I'm suspecting this is a result of my limited grasp of Haskell's syntax (an area where YAHT is sorely lacking). Any tips/pointers appreciated. /M -- Magnus Therning (OpenPGP

[Haskell-cafe] YAHT: searchAll5

2006-10-30 Thread Magnus Therning
, a `mplus` b)) What's above isn't accepted by ghci, and I don't even know for sure that my thought makes sense. /M [1]: http://en.wikibooks.org/wiki/Haskell/YAHT/Monads#Monad_Transformers -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber

Re: [Haskell-cafe] Re: Haskell-Cafe Digest, Vol 39, Issue 6

2006-11-06 Thread Magnus Therning
enlightenment... /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want

[Haskell-cafe] string to date?

2006-11-09 Thread Magnus Therning
a string it seems. Where should I look? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents

Re: [Haskell-cafe] string to date?

2006-11-09 Thread Magnus Therning
On Thu, Nov 09, 2006 at 20:43:36 +0100, Björn Bringert wrote: Dougal Stanton wrote: Quoth Magnus Therning, nevermore, I've been staring my eyes out trying to find a function that converts a string into a ClockTime or CalendarTime. Basically something like C's strptime(3). I can't seem to find

Re: [Haskell-cafe] best Linux for GHC?

2006-11-13 Thread Magnus Therning
packages between distributions. I would suggest Ubuntu (or Debian Sid if you are interested in getting newer versions of GHC). I think you'd find it difficult to find software that wasn't already in Ubuntu's multiverse repository. /M -- Magnus Therning (OpenPGP

[Haskell-cafe] importing Distribution.Compat.FilePath fails

2006-11-18 Thread Magnus Therning
@haskell.org/msg00162.html and I was hoping that my cabal version would have an unhidden FilePath module... apparently not. Can I unhide it somehow? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org

Re: [Haskell-cafe] importing Distribution.Compat.FilePath fails

2006-11-18 Thread Magnus Therning
On Sat, Nov 18, 2006 at 20:18:12 +0100, Lemmih wrote: On 11/18/06, Magnus Therning [EMAIL PROTECTED] wrote: Putting import Distribution.Compat.FilePath in my source results in Could not find module `Distribution.Compat.FilePath': it is hidden (in package Cabal-1.1.6) I want to use

[Haskell-cafe] c2hs and cabal?

2006-11-27 Thread Magnus Therning
Can I use cabal to build packages that incorporates C libraries and FFI Haskell created using c2hs? Any pointers on how to do that? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus

Re: [Haskell-cafe] c2hs and cabal?

2006-11-28 Thread Magnus Therning
On Tue, Nov 28, 2006 at 00:33:42 +, Duncan Coutts wrote: On Mon, 2006-11-27 at 22:26 +, Magnus Therning wrote: Can I use cabal to build packages that incorporates C libraries and FFI Haskell created using c2hs? Yes you can. Cabal understands a bit about .chs files. I think all you need

Re: [Haskell-cafe] c2hs and cabal?

2006-11-28 Thread Magnus Therning
On Tue, Nov 28, 2006 at 11:11:30 +, Duncan Coutts wrote: On Tue, 2006-11-28 at 10:56 +, Magnus Therning wrote: On Tue, Nov 28, 2006 at 00:33:42 +, Duncan Coutts wrote: On Mon, 2006-11-27 at 22:26 +, Magnus Therning wrote: Can I use cabal to build packages that incorporates C

[solved] Re: [Haskell-cafe] c2hs and cabal?

2006-11-28 Thread Magnus Therning
On Tue, Nov 28, 2006 at 12:00:50 +, Magnus Therning wrote: [..] Can't really see anything obviously bogus about the following: % cat Foo.chs module Foo where #include foo.h fooOne i = {# call foo1 #} i I solved my problem, but thought I'd send a mail to the list for anyone who's

Re: [solved] Re: [Haskell-cafe] c2hs and cabal?

2006-11-29 Thread Magnus Therning
On Wed, Nov 29, 2006 at 03:38:24 +, Duncan Coutts wrote: On Tue, 2006-11-28 at 17:24 +, Magnus Therning wrote: On Tue, Nov 28, 2006 at 12:00:50 +, Magnus Therning wrote: [..] Can't really see anything obviously bogus about the following: % cat Foo.chs module Foo where

Re: [Haskell-cafe] [newbie]any nice code for newbie to read?

2006-12-12 Thread Magnus Therning
on _your_ code, and learning that way :-) My personal experience is that posting here, and blogging are good ways of sucking in reviews. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: Phooey -- a Functional UI library for Haskell

2006-12-13 Thread Magnus Therning
On the web page the screen shots are all on Windows. Is that the only supported platform at the moment? (I'd love to see support for GTK :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org

[Haskell-cafe] c2hs examples?

2006-12-13 Thread Magnus Therning
is a little too overwhelming). /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do

A suggestion for the next high profile Haskell project [Was: Re: [Haskell-cafe] What is a hacker?]

2006-12-15 Thread Magnus Therning
/blog/debian/#1-58 -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want

Re: A suggestion for the next high profile Haskell project [Was: Re: [Haskell-cafe] What is a hacker?]

2006-12-17 Thread Magnus Therning
, no accidental mixing of signed and unsigned types (correct me if I'm wrong here), ... There is of course the possibility that Haskell would bring a whole slew of yet-to-be-determined security issues. I doubt it will be worse than C though. /M -- Magnus Therning (OpenPGP

Re: [Haskell-cafe] Re: A suggestion for the next high profile Haskell project

2006-12-19 Thread Magnus Therning
-- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law

[Haskell-cafe] IO in lists

2007-01-16 Thread Magnus Therning
c - lift getChar if c == 'q' then lift $ return c else (lift $ return c) ++ listChars2 /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured

Re: [Haskell-cafe] IO in lists

2007-01-16 Thread Magnus Therning
if a map solution is possible. -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpkBnPyR98zZ.pgp Description: PGP signature ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] IO in lists

2007-01-19 Thread Magnus Therning
http://liw.iki.fi/liw/log/2007-01.html#20070116b -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpZG9AiJbjF8.pgp Description: PGP signature

Re: [Haskell-cafe] Re: IO in lists

2007-01-19 Thread Magnus Therning
On Fri, Jan 19, 2007 at 11:19:16 +0100, Ferenc Wagner wrote: Magnus Therning [EMAIL PROTECTED] writes: Thanks for all the excellent answers to my original question. Somehow it feels like I advanced and got one level closer to a black belt in Haskell due to this; I've now legitimately used

Re: [Haskell-cafe] Re: IO in lists

2007-01-23 Thread Magnus Therning
how ListT ought to be implemented. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpxcsHjtegbV.pgp Description: PGP signature ___ Haskell-Cafe

Re: [Haskell-cafe] Re: IO in lists

2007-01-26 Thread Magnus Therning
if there's a nice solution for it. IMHO a solution with ListT would be nice, so I'd really like to understand how to make it work the way I want it. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org

Re: [Haskell-cafe] Re: IO in lists

2007-01-30 Thread Magnus Therning
. Regards, Yitz ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http

Re: [Haskell-cafe] Is Excel the most used -- and fucntional -- programming lanuage on Earth?

2007-01-31 Thread Magnus Therning
]: http://www.galois.com/cufp/ -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpfIMF6LV4lk.pgp Description: PGP signature ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Re: Channel9 Interview: Software Composability and theFu ture of Languages

2007-01-31 Thread Magnus Therning
trying to say is that imperative thinking is so common outside of CS/math and we learn it so early on in life that we probably can consider it the natural thinking way. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED

Re: [Haskell-cafe] Re: Channel9 Interview: Software Composability and theFu ture of Languages

2007-01-31 Thread Magnus Therning
On Wed, Jan 31, 2007 at 13:36:02 +0200, Yitzchak Gale wrote: Bulat Ziganshin wrote: FP way is to represent everything as function, imperative way is to represent everything as algorithm. Magnus Therning wrote: Neither way may be natural, but imperative thinking is extremely common in society, I'd

Re: [Haskell-cafe] Re: Channel9 Interview: Software Composability and theFu ture of Languages

2007-01-31 Thread Magnus Therning
you first calculate 4*3, then add 2, then multiply the lot by 2. Each step would be written to paper until the kid learns to do calculations like this in RAM. I'm suspecting this manner of teaching has foundation in pedagogy. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4

Re: [Haskell-cafe] Re: Channel9 Interview: Software Composability and theFu ture of Languages

2007-01-31 Thread Magnus Therning
On Wed, Jan 31, 2007 at 09:43:36 -0500, Mark T.B. Carroll wrote: Magnus Therning [EMAIL PROTECTED] writes: (snip) Sequential thinking would be related to procedural programming, that is ordering of statements are important but there's no state. Functional programming is declarative, no order

Re: [Haskell-cafe] Re: Channel9 Interview: Software Composability and theFu ture of Languages

2007-01-31 Thread Magnus Therning
-- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpFtKDe0xqqT.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Data.ByteString.Lazy.Char8 and finding substrings

2007-02-01 Thread Magnus Therning
I'm curious, why doesn't Data.ByteString.Lazy.Char8 have the functions for searching for substrings that Data.ByteString.Char8 has (isPrefixOf, isSuffixOf, isSubstringOf, findSubstring and findSubstrings)? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED

Re: [Haskell-cafe] LugRadio talk

2007-02-15 Thread Magnus Therning
to fake my way through things before so I guess that having written my first piece of Haskell just a few weeks ago won't hold me back too much... /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus

Re: [Haskell-cafe] FFI basics

2007-02-15 Thread Magnus Therning
Windows. Shameless self-promotion: http://therning.org/magnus/archives/238 /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgph57tpXeDwu.pgp Description: PGP signature

Re: [Haskell-cafe] LugRadio talk

2007-02-16 Thread Magnus Therning
On Thu, Feb 15, 2007 at 13:53:46 +, Dougal Stanton wrote: Quoth Magnus Therning, nevermore, Ah, damn it, I knew I shouldn't have put that in my mail to them. I just couldn't let them get away with complaining so much about Haskell though. I'm glad you did. I was getting a bit annoyed

[Haskell-cafe] Summer of code and spam

2007-02-16 Thread Magnus Therning
There seems to be a serious problem with spam on Haskell's SoC page: http://tinyurl.com/fl2dw Or maybe that's a general problem for hackage? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org

[Haskell-cafe] Lisp on xkcd.com, very funny!

2007-02-16 Thread Magnus Therning
I think the readers of this list will appreciate this http://xkcd.com/comics/lisp.jpg /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you

[Haskell-cafe] HPC of several modules?

2008-01-16 Thread Magnus Therning
How do I get reports on coverage of all modules in a program? The documentation I've found http://blog.unsafeperformio.com/?p=18 and http://www.haskell.org/ghc/docs/latest/html/users_guide/hpc.html both do coverage of a single module. Going the naive route of first making sure there are no

[Haskell-cafe] ghc6.8: hiding uninstalled package?

2008-01-17 Thread Magnus Therning
This might seem like a silly question, but what's the reasoning behind the following behaviour? % ghc-pkg list dataenc /usr/lib/ghc-6.8.2/package.conf: % ghc --make -hide-package dataenc -isrc UT.hs ghc-6.8.2: unknown package: dataenc Hiding an uninstalled package doesn't seem to warrant failing

Re: [Haskell-cafe] ghc6.8: hiding uninstalled package?

2008-01-17 Thread Magnus Therning
On 1/17/08, Albert Y. C. Lai [EMAIL PROTECTED] wrote: Magnus Therning wrote: This might seem like a silly question, but what's the reasoning behind the following behaviour? % ghc-pkg list dataenc /usr/lib/ghc-6.8.2/package.conf: % ghc --make -hide-package dataenc -isrc UT.hs ghc

[Haskell-cafe] Has character changed in GHC 6.8?

2008-01-22 Thread Magnus Therning
basically be a no-op, but no such luck: chr . ord $ 'å' '\229' What would I have to do to get an 'å' from '229'? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus What if I don't

Re: [Haskell-cafe] Has character changed in GHC 6.8?

2008-01-22 Thread Magnus Therning
On 1/22/08, Duncan Coutts [EMAIL PROTECTED] wrote: On Tue, 2008-01-22 at 09:29 +, Magnus Therning wrote: I vaguely remember that in GHC 6.6 code like this length $ map ord a string being able able to generate a different answer than length a string That seems unlikely

Re: [Haskell-cafe] Has character changed in GHC 6.8?

2008-01-22 Thread Magnus Therning
On 1/22/08, Ian Lynagh [EMAIL PROTECTED] wrote: On Tue, Jan 22, 2008 at 03:16:15PM +, Magnus Therning wrote: On 1/22/08, Duncan Coutts [EMAIL PROTECTED] wrote: On Tue, 2008-01-22 at 09:29 +, Magnus Therning wrote: I vaguely remember that in GHC 6.6 code like

Re: [Haskell-cafe] Has character changed in GHC 6.8?

2008-01-23 Thread Magnus Therning
On 1/22/08, Ian Lynagh [EMAIL PROTECTED] wrote: On Tue, Jan 22, 2008 at 03:59:24PM +, Magnus Therning wrote: Yes, of course, stupid me. But it is still the UTF-8 representation of ö, not Latin-1, and this brings me back to my original question, is this an intentional change in 6.8

Re: [Haskell-cafe] Has character changed in GHC 6.8?

2008-01-23 Thread Magnus Therning
On 1/23/08, Johan Tibell [EMAIL PROTECTED] wrote: [..] My proposal is for I/O functions to specify the encoding they use if they accept or return Chars (and Strings). If they deal in terms of bytes (e.g. socket functions) they should accept and return Word8s. Optionally, text I/O functions

Re: [Haskell-cafe] SPJ on the radio (at .NET Rocks :)

2008-01-24 Thread Magnus Therning
, then this is the URL of the episode: http://perseus.franklins.net/dotnetrocks_0310_simon_peyton_jones.mp3 /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus What if I don't want to obey

Re: Cryptographic hash uniquness (was [Haskell-cafe] Simple network client)

2008-01-31 Thread Magnus Therning
On 1/31/08, Peter Verswyvelen [EMAIL PROTECTED] wrote: winds up having a write cache, which is mutable in practice. The interesting thing is that the block's location is the cryptographic hash of its contents, which leads to all sorts of neat properties (as well as requiring immutability).

[Haskell-cafe] Cabal, GHC, FFI and Visual Studio on Windows

2008-02-01 Thread Magnus Therning
a Cabalised package. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus What if I don't want to obey the laws? Do they throw me in jail with the other bad monads? -- Daveman

Re: [Haskell-cafe] Cabal, GHC, FFI and Visual Studio on Windows

2008-02-02 Thread Magnus Therning
Haskell-hacking-on-Windows experience somewhat bearable... /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus What if I don't want to obey the laws? Do they throw me in jail

Re: [Haskell-cafe] Cabal, GHC, FFI and Visual Studio on Windows

2008-02-02 Thread Magnus Therning
to, just as on Linux, have a single cabal file that compiles the C code containing the wrappers while still having access to a complete development environment. On Windows that means compiling C/C++ with MS's tool set. I hope that clarifies what goes on in my muddy mind a bit... /M -- Magnus Therning

  1   2   3   4   >