Re: [Haskell-cafe] Looking for numbers to support using haskell

2013-09-23 Thread Eric Rasmussen
realize is not exactly what you asked for. But hopefully you'll find something there that can help. Best, Eric On Mon, Sep 23, 2013 at 12:13 PM, Nick Vanderweit nick.vanderw...@gmail.com wrote: I'd be interested in more studies in this space. Does anyone know of empirical studies on program

Re: [Haskell-cafe] function arithmetic?

2013-09-01 Thread Eric Rasmussen
Might not be exactly what you're looking for, but Control.Arrow has a rich set of operators that can be used to combine functions. For instance, there's an example on http://en.wikibooks.org/wiki/Haskell/Understanding_arrows showing an addA function that can be used to apply two functions to the

Re: [Haskell-cafe] catching IO errors in a monad transformer stack

2013-07-22 Thread Eric Rasmussen
recommend you use that instead of MonadCatchIO. On Mon, Jul 22, 2013 at 4:13 AM, Eric Rasmussen ericrasmus...@gmail.comwrote: Arie, Thanks for calling that out. The most useful part for my case is the MonadCatchIO implementation of catch: catch :: Exception e = m a - (e - m a) - m

Re: [Haskell-cafe] catching IO errors in a monad transformer stack

2013-07-21 Thread Eric Rasmussen
monad. Do you happen to know of another approach for catching IOExceptions and throwing them in ErrorT? Thanks, Eric On Sun, Jul 21, 2013 at 7:00 AM, Arie Peterson ar...@xs4all.nl wrote: On Thursday 18 July 2013 23:05:33 Eric Rasmussen wrote: […] Would there be any interest in cleaning

Re: [Haskell-cafe] List Monads and non-determinism

2013-07-20 Thread Eric Rasmussen
For the sake of approaching this in yet another way, it can also be helpful to substitute the definitions of bind and return in your expression. If we start with the definitions: instance Monad [] where xs = f = concat (map f xs) return x = [x] Then we can make the following transformations:

Re: [Haskell-cafe] catching IO errors in a monad transformer stack

2013-07-19 Thread Eric Rasmussen
) to Control.Monad.CatchIO? Either way I will write up a blog post on it since I couldn't find any tutorials breaking this process down. Thanks everyone! On Thu, Jul 18, 2013 at 4:23 PM, Alberto G. Corona agocor...@gmail.comwrote: Hi Eric: The pattern may be the MonadCatchIO class: http

[Haskell-cafe] catching IO errors in a monad transformer stack

2013-07-18 Thread Eric Rasmussen
somewhere. Thanks! Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Unbound: rebind and unrebind

2013-04-22 Thread Eric Dobson
Eric, On Sun, Apr 14, 2013 at 10:57:43AM -0700, Eric Dobson wrote: I am working at reimplementing the library Unbound to understand how it works. One issue I have come up with is that an equation that I thought held true doesn't. The equation is: Forall e::Rebind a b, e `aeq` (uncurry rebind

[Haskell-cafe] Unbound: rebind and unrebind

2013-04-14 Thread Eric Dobson
I am working at reimplementing the library Unbound to understand how it works. One issue I have come up with is that an equation that I thought held true doesn't. The equation is: Forall e::Rebind a b, e `aeq` (uncurry rebind . unrebind $ e) = True. That is that spliting the binding of a rebind

Re: [Haskell-cafe] [extension]syntactic sugar for maps

2013-03-27 Thread Eric Rasmussen
I agree that fromList or pattern matching at the function or case level are readable. We probably don't need new sugar. For what it's worth, in scala you can use - to construct tuples, so you'll sometimes see maps created like this: Map(1 - one, 2 - two, 3 - foo) You can always do something

[Haskell-cafe] Install wx on Windows XP

2013-03-26 Thread Eric Wong
Hi Haskellers, I'm trying to install wxHaskell on Windows XP. I have already installed Haskell Platform 2012.04.0.0, MinGW and wxWidgets. When I try to install wx, I got the following error when cabal is installing wxcore: $ cabal install wx Resolving dependencies... [1 of 1] Compiling Main

Re: [Haskell-cafe] Object Oriented programming for Functional Programmers

2012-12-30 Thread Eric Rasmussen
Since no one's mentioned it yet, you might consider learning Scala. A good starting point is http://www.artima.com/pins1ed/index.html (note that the free edition is outdated but still a good introduction). Scala has a mix of functional and OO programming styles, though (having come first from

Re: [Haskell-cafe] How to start with GHC development?

2012-12-11 Thread Eric Rochester
put simpler tasks into a global index. That might mix the best of both. I'll be happy to start accumulating information for the wiki page. I'm in the middle of drafting a book, however, so it'll be Feb at the earliest before I can really pay significant attention to it. Best, Eric On Tue, Dec 11

Re: [Haskell-cafe] sequential logic

2012-12-05 Thread Eric Velten de Melo
2012/12/5 Christopher Howard christopher.how...@frigidcode.com: Hi. I was wondering what the various (and especially most simple) approaches one could take for working with (simulating or calculating) sequential logic in Haskell. By sequential logic, I mean like wikipedia describes, where a

Re: [Haskell-cafe] cabal install...

2012-11-20 Thread Eric Velten de Melo
I have a dream of one day being able to install leksah without having to downgrade ghc. Right now I can't even install cabal-dev with cabal. It will break ghc if I do. 2012/11/20 Johan Tibell johan.tib...@gmail.com: On Tue, Nov 20, 2012 at 1:10 PM, Gregory Guthrie guth...@mum.edu wrote: Hmm,

Re: [Haskell-cafe] GHC maintenance on Arch

2012-10-29 Thread Eric Velten de Melo
In his defense, from the perspective of a more or less newbie in the subject matter, I had quite a bit of trouble using Haskell under Arch. Not that it is so much better in other systems, I wouldn't know. I often was in the position to decide whether to use cabal-install, arch-haskell

Re: [Haskell-cafe] Teaching Haskell @ MOOCs like Coursera or Udacity

2012-10-24 Thread Eric Rasmussen
I can see that the required effort would be prohibitive, but after thinking about this some more I do think there are a couple of nice advantages: 1) Quizzes and graded assignments offer some structure to self study, and having some form of feedback/validation when you first get started is

Re: [Haskell-cafe] Interleaving type variables in a tree, has this a name ?

2012-10-14 Thread Eric Dedieu
data ANode a b = ANode a [BNode a b] [BNode a b] data BNode a b = BNode b [ANode a b] [ANode a b] Wouldn't the following work as well and be simpler to handle : data Node a b = Node a [Node b a] [Node b a] Yes ! In fact my actual structure is not symmetrical (some lists must preserve order

[Haskell-cafe] Interleaving type variables in a tree, has this a name ?

2012-10-13 Thread Eric Dedieu
type variables, using pairs) a known pattern ? Does it have a name ? Are there well known (and less tedious) alternatives, or higher-level workarounds ? Thanks for any hint, Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Am I the only one having problems with RWH?

2012-10-06 Thread Eric Rasmussen
I found I had to keep switching between RWH and other books for these concepts to sink in. A really good resource that I don't see mentioned too often is the Haskell wikibook: http://en.wikibooks.org/wiki/Haskell I don't remember it covering parsec specifically but if you get grounded in all the

Re: [Haskell-cafe] Either Monad and Laziness

2012-09-14 Thread Eric Velten de Melo
On 13 September 2012 20:29, wren ng thornton w...@freegeek.org wrote: On 9/12/12 5:37 PM, Francesco Mazzoli wrote: At Wed, 12 Sep 2012 12:04:31 -0300, Eric Velten de Melo wrote: It would be really awesome, though, if it were possible to use a parser written in Parsec

Re: [Haskell-cafe] Either Monad and Laziness

2012-09-12 Thread Eric Velten de Melo
Thanks for all the tips! The iteratees seem worth checking out. I'll see what I can do and will report back if I come up with something. Eric On 12 September 2012 03:03, o...@okmij.org wrote: I am currently trying to rewrite the Graphics.Pgm library from hackage to parse the PGM to a lazy

Re: [Haskell-cafe] Either Monad and Laziness

2012-09-12 Thread Eric Velten de Melo
On 12 September 2012 11:46, Eric Velten de Melo ericvm...@gmail.com wrote: Thanks for all the tips! The iteratees seem worth checking out. I'll see what I can do and will report back if I come up with something. Eric On 12 September 2012 03:03, o...@okmij.org wrote: I am currently trying

[Haskell-cafe] Either Monad and Laziness

2012-09-11 Thread Eric Velten de Melo
, though, I would not know how to recover from it. Any thoughts? Hopefully I'm not saying anything really stupid. Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Simple shell scripts

2012-08-27 Thread Eric Tanter
Hi, Here is a simple shell script (upper.hs): import Data.Char main = interact $ map toUpper which composes fine with other scripts: bash-3.2$ yes | head -n 3 | runghc upper.hs Y Y Y but not always: bash-3.2$ yes | runghc upper.hs | head -n 3 Y Y Y stdout: hFlush: resource vanished (Broken

Re: [Haskell-cafe] Simple shell scripts

2012-08-27 Thread Eric Tanter
Thanks Brandon and Iavor for your (fast!) responses. Installing a silent handler as suggested by Brandon worked nicely. -- Éric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Cloud Haskell Appetiser: a taste of distributed programming in Haskell

2012-07-21 Thread Eric Kow
-Process-Backend-SimpleLocalnet.html [survey]: http://goo.gl/bP2fn -- Eric Kow http://erickow.com signature.asc Description: Message signed with OpenPGP using GPGMail ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] [***SPAM***] Parallel Haskell Digest 11

2012-07-06 Thread Eric Kow
the Parallel Haskell Digest question if it helps later. On 6 Jul 2012, at 14:57, Sean Leather wrote: Hi Eric (et Café), On Thu, Jul 5, 2012 at 5:13 PM, Eric Kow wrote: *[Everybody should write everything in Go?][m7] (28 May) Ryan Hayes posted a small [snippet of Go][go-snippet] showing how

[Haskell-cafe] Parallel Haskell Digest 11

2012-07-05 Thread Eric Kow
, but feedback would still be much appreciated! Get in touch with me, Eric Kow, at paral...@well-typed.com. Bye for now! [ch-pdf]: http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/remote.pdf [dist-p]: https://github.com/haskell-distributed/distributed-process [downfall]: http

[Haskell-cafe] Cabal error installing Yesod and nehe-tuts on Haskell Platform 2012.2.0.0

2012-07-02 Thread Eric Macaulay
Hello all! I trust tried to install yesod using cabal install yesod-platform but the installation aborted with the following error: cabal: Error: some packages failed to install: authenticate-1.2.1.1 depends on zlib-conduit-0.4.0.2 which failed to install. http-conduit-1.4.1.10 depends on

Re: [Haskell-cafe] Cabal error installing Yesod and nehe-tuts on Haskell Platform 2012.2.0.0

2012-07-02 Thread Eric Macaulay
I tried running cabal install again, but just got the same error. On Mon, Jul 2, 2012 at 10:34 PM, Alexander Foremny alexanderfore...@gmail.com wrote: Hello Eric, most packages fail to install because zlib-conduit fails to install. The reason for this -- as can be seen in the last line

[Haskell-cafe] package to expand TH macros?

2012-07-01 Thread Eric
I seem to remember finding a package a few days ago that would take Haskell source with TH, then run and expand the TH macros in-place to produce equivalent, TH-free Haskell source.   I just went through the Hackage package list and didn't find anything like that. Did I imagine it?  Or can

Re: [Haskell-cafe] A functional programming solution for Mr and Mrs Hollingberry

2012-05-29 Thread Eric Rasmussen
I added a Scala solution since Haskell is already well represented. Regarding exercises that are easier in OO, I don't think you'll find one that a good Haskell programmer can't match in a functional style. But if you make simulation the goal of the exercise (rather than writing a program that

Re: [Haskell-cafe] Please critique my code (a simple lexer)

2012-05-22 Thread Eric Rasmussen
Another suggestion is to use pattern matching at the function level: doLex' lexer loc [] = [makeToken EOF] doLex' lexer loc (x:xs) = case x of ' ' - more (locInc loc 1) xs '\n'- more (locNL loc) xs ... _ - That saves you from having to deconstruct repeatedly in your

[Haskell-cafe] Parallel Haskell Digest 10

2012-05-18 Thread Eric Kow
to make an announcement in the next Haskell Parallel Digest, then get in touch with me, Eric Kow, at paral...@well-typed.com. Please feel free to leave any comments and feedback! [lifted-base]: http://hackage.haskell.org/package/lifted-base [tutorial-sm]: http://community.haskell.org/~simonmar

Re: [Haskell-cafe] desactivate my Show instance implementations temporarily

2012-04-25 Thread Eric Kow
define GeniShow in terms of other things (but vice versa) because I don't want to accidentally change my file format just because I was trying to make something prettier. Oops. -- Eric Kow http://erickow.com signature.asc Description: Message signed with OpenPGP using GPGMail

[Haskell-cafe] Parallel Haskell Digest 9

2012-04-20 Thread Eric Kow
, then get in touch with me, Eric Kow, at paral...@well-typed.com. Please feel free to leave any comments and feedback! [arswell]: http://arstechnica.com/business/news/2012/02/transactional-memory-going-mainstream-with-intel-haswell.ars [chat-1]: https://github.com/joeyadams/haskell-chat-server-example

[Haskell-cafe] Parallel Haskell Digest 8

2012-03-02 Thread Eric Kow
, then get in touch with me, Eric Kow, at paral...@well-typed.com. Please feel free to leave any comments and feedback! [chan]: http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Concurrent-Chan.html [dp-design]: https://github.com/haskell-distributed/distributed-process/wiki/New

[Haskell-cafe] debugging snap app

2012-01-10 Thread Eric Wong
-server package using -fopenssl flag but without -fnodebug, so I think it's normal. Any idea on this? Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] too many open files using snap

2012-01-08 Thread Eric Wong
This is very helpful, I found currently almost all of the open files are sockets. But it don't have that much traffic. So it seems it's leaking socket file descriptors. 在 2012-1-8,下午10:50, Felipe Almeida Lessa 写道: On Sun, Jan 8, 2012 at 12:27 PM, Gregory Collins g...@gregorycollins.net

Re: [Haskell-cafe] too many open files using snap

2012-01-08 Thread Eric Wong
I run both of these commands and found out that there're sockets leaking. Most of them are TCP connections in CLOSE_WAIT state. There're also some socket with can't identify protocol. So, What's the problem? Is it related to the timeout in the server config? I'm using the default value. 在

Re: [Haskell-cafe] too many open files using snap

2012-01-08 Thread Eric Wong
Yes, I know it's not related to the static files now. But do I have to close socket in snap monad? Shouldn't it be closed by snap-server? 在 2012-1-9,下午2:29, Gregory Collins 写道: 2012/1/9 Eric Wong wsy...@gmail.com I run both of these commands and found out that there're sockets leaking. Most

Re: [Haskell-cafe] too many open files using snap

2012-01-08 Thread Eric Wong
Forget to mention it, I am using HTTPS to serve all the APIs. And int the error.log file, I got lots of ConnectionAbruptlyTerminated exceptions, which I think is defined in OpenSSL. 在 2012-1-9,下午2:48, Gregory Collins 写道: 2012/1/9 Eric Wong wsy...@gmail.com Yes, I know it's not related

[Haskell-cafe] too many open files using snap

2012-01-07 Thread Eric Wong
any expertise on the core of snap, so, could some one give me some advice on this problem? Thanks. Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Parallel Haskell Digest 7

2011-12-24 Thread Eric Kow
-- If you'd like to make an announcement in the next Haskell Parallel Digest, then get in touch with me, Eric Kow, at paral...@well-typed.com. Please feel free to leave any comments and feedback! [Bikeshed image][bikeshed] by banlon1964 available

Re: [Haskell-cafe] Parallel Matrix Multiplication

2011-12-16 Thread Eric Kow
one please tell me how to improve this. Also kindly recommend me some literature for parallel programming in Haskell. -- Eric Kow http://erickow.com signature.asc Description: Message signed with OpenPGP using GPGMail ___ Haskell-Cafe mailing list

[Haskell-cafe] thread blocked indefinitely in an STM transaction

2011-11-20 Thread Eric Wong
blocked indefinitely in an STM transaction. There's no STM related code in my code. Do you have any idea on this error and how to process this? Thanks. Eric. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

[Haskell-cafe] blanket license for Haskell Platform?

2011-10-25 Thread Eric Y. Kow
about organising such an effort? I wonder if this is a sort of thing we could tie to the IHG... Thanks, -- Eric Kow http://erickow.com pgp8VHBXNDPT5.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] blanket license for Haskell Platform?

2011-10-25 Thread Eric Y. Kow
-license them AFAIK, which may be difficult. I could just say it'd be unrealistic. Just trying to be thorough. -- Eric Kow http://erickow.com pgpJtBqlfeVqc.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] cabal license check?

2011-10-12 Thread Eric Y. Kow
: cab deps -i -r -a vector Thanks! That's close enough. -- Eric Kow http://erickow.com pgpLY3fnHFC9s.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] cabal license check?

2011-10-10 Thread Eric Y. Kow
interacting with hackage and sucking down the cabal files it needs, etc? Thanks, Eric [1]: http://www.haskell.org/pipermail/cabal-devel/2010-October/006657.html [2]: http://therning.org/magnus/archives/534 -- Eric Kow http://erickow.com pgpZHM5wGwXPp.pgp Description: PGP signature

[Haskell-cafe] Parallel Haskell Digest 6

2011-10-06 Thread Eric Y. Kow
an announcement in the next Haskell Parallel Digest, then get in touch with me, Eric Kow, at paral...@well-typed.com. Please feel free to leave any comments and feedback! [sm-tutorial]: http://community.haskell.org/~simonmar/par-tutorial.pdf [mp-paper]: http://research.microsoft.com/en-us/um

Re: [Haskell-cafe] Parallel Haskell Digest 6

2011-10-06 Thread Eric Y. Kow
Attached are the png files I refer to in this post. Check out the blog version to see it all in context http://www.well-typed.com/blog/60 On Thu, Oct 06, 2011 at 16:58:47 +0100, Eric Y. Kow wrote: First, the bigger picture: why do we have another way of doing parallel programming in Haskell

Re: [Haskell-cafe] Parsing binary data question

2011-09-28 Thread Eric Rasmussen
usage here: https://bitbucket.org/bos/attoparsec/src/286c3d520c52/examples/ Take care, Eric On Tue, Sep 27, 2011 at 2:14 AM, Michael Oswald muell...@gmx.net wrote: Hello all, I am currently working on parser for some packets received via the network. The data structure currently is like

Re: [Haskell-cafe] New: A French translation of Learn You A Haskell for Great Good!

2011-09-21 Thread Eric Y. Kow
repository behind this See http://wiki.darcs.net for an example of this in action. Would be great if Haskell wiki were also running Gitit but that's a potentially a tougher nut to crack -- Eric Kow http://erickow.com pgpbyqUY94Xxb.pgp Description: PGP signature

Re: [Haskell-cafe] darcs checkin history?? forgot ....

2011-09-16 Thread Eric Y. Kow
repo -- Eric Kow http://erickow.com pgpJh36SrGR3u.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Parallel Haskell Digest 5

2011-08-31 Thread Eric Y. Kow
Parallel Haskell Digest === Edition 5 2011-08-31 Hello Haskellers! Eric here, reprising my role as Parallel Haskell Digester. Many thanks to Nick for good stewardship of the digest and nice new directions for the future. This month we have Erlang PhDs (and a postdoc), new

Re: [Haskell-cafe] Cabal-1.10.1.0 and bytestring-0.9.2.0 hackage problem.

2011-08-25 Thread Eric Y. Kow
-- Eric Kow http://erickow.com pgpAW3zBRxCoY.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Fractional Part

2011-08-02 Thread Eric Rasmussen
/languages/etc. Best, Eric On Tue, Aug 2, 2011 at 4:36 PM, Mark Spezzano valh...@chariot.net.auwrote: Hi Ata, You could write the following decimalPart :: Float - Integer decimalPart f = read (tail (tail (show (f :: Integer This basically says convert f into a String using the show function

Re: [Haskell-cafe] file splitter with enumerator package

2011-07-25 Thread Eric Rasmussen
I just found another solution that seems to work, although I don't fully understand why. In my original function where I used EB.take to strictly read in a Lazy ByteString and then L.hPut to write it out to a handle, I now use this instead (full code in the annotation here:

Re: [Haskell-cafe] file splitter with enumerator package

2011-07-24 Thread Eric Rasmussen
with this part if anyone has suggestions. Thanks again, Eric On Sun, Jul 24, 2011 at 10:34 AM, Felipe Almeida Lessa felipe.le...@gmail.com wrote: On Sun, Jul 24, 2011 at 12:28 PM, Yves Parès limestr...@gmail.com wrote: If you used Data.Enumerator.Text, you would maybe benefit the lines function

[Haskell-cafe] file splitter with enumerator package

2011-07-22 Thread Eric Rasmussen
other feedback on how to make it better, I want to note that I'm not planning to release this as a utility so I wouldn't want anyone to spend extra time performing a full code review. Thanks! Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] file splitter with enumerator package

2011-07-22 Thread Eric Rasmussen
on it and see if I can address the concerns you brought up. Thanks again! Eric On Fri, Jul 22, 2011 at 6:00 PM, Felipe Almeida Lessa felipe.le...@gmail.com wrote: There is one problem with your algorithm. If the user asks for 4 GiB, then the program will create files with *at least* 4 GiB. So

Re: [Haskell-cafe] Searching of several substrings (with Data.Text ?)

2011-07-05 Thread Eric Rasmussen
I've been looking into building parsers at runtime (from a config file), and in my case it's beneficial to fit them into the context of a larger parser with Attoparsec.Text. This code is untested for practical use so I doubt you'll see comparable performance to the aforementioned regex packages,

[Haskell-cafe] attoparsec and vectors

2011-06-28 Thread Eric Rasmussen
to build up a vector from parsing results? Thanks for any tips or insight, Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Iteratee IO examples

2011-06-24 Thread Eric Rasmussen
implementation? import qualified Data.ByteString.Char8 as B sortLines = B.unlines . sort . B.lines Thanks! Eric On Fri, Jun 24, 2011 at 7:24 AM, Henk-Jan van Tuyl hjgt...@chello.nlwrote: On Fri, 24 Jun 2011 15:11:59 +0200, David Place d...@vidplace.com wrote: Hi, I've been trying to learn

[Haskell-cafe] wxHaskell for Haskell Platform 2011.2.0.1

2011-06-15 Thread Eric Kow
, but there is still a lot of work of to do before we get there [2]. Help wanted :-) Enjoy! Eric [1] http://thread.gmane.org/gmane.comp.lang.haskell.wxhaskell.devel/612 [2] http://thread.gmane.org/gmane.comp.lang.haskell.wxhaskell.devel/616 -- Eric Kow http://erickow.com signature.asc Description

Re: [Haskell-cafe] Generating simple histograms in png format?

2011-06-12 Thread Eric Rasmussen
There is a program written in Haskell called Timeplot that does this: http://www.haskell.org/haskellwiki/Timeplot It's an executable rather than a library, but you can use your own Haskell code to preprocess/format data and pipe it to the program to generate histograms as pngs. Best, Eric

Re: [Haskell-cafe] Distributing Haskell GUI apps for Windows/MacOS?

2011-06-07 Thread Eric Kow
this helps, Eric [1] http://sourceforge.net/mailarchive/message.php?msg_id=24625975 -- Eric Kow http://erickow.com signature.asc Description: Digital signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] haskellwiki slow/unresponsive

2011-06-03 Thread Eric Rasmussen
of the Haskell web application frameworks. Eventually it'd be nice to proudly advertise all the prominent Haskell community pages as being powered by Haskell. Thanks! Eric On Fri, Jun 3, 2011 at 12:50 PM, Greg Weber g...@gregweber.info wrote: I have been trying to make a few edits to the haskell wiki

Re: [Haskell-cafe] haskellwiki slow/unresponsive

2011-06-03 Thread Eric Rasmussen
of that framework. I'm still relatively new to the Haskell community so I apologize if much of this has been addressed before! On Fri, Jun 3, 2011 at 3:11 PM, Gwern Branwen gwe...@gmail.com wrote: On Fri, Jun 3, 2011 at 4:17 PM, Eric Rasmussen ericrasmus...@gmail.com wrote: This is a bit

[Haskell-cafe] representing spreadsheets

2011-05-27 Thread Eric Rasmussen
to facilitate access by columns or rows or both, and I'd like to know if there's a particular matrix library that would work well with this idea. However, I'm certainly open to any other data structures that may be better suited to the task. Thanks! Eric

Re: [Haskell-cafe] representing spreadsheets

2011-05-27 Thread Eric Rasmussen
, Tillmann Rendel ren...@informatik.uni-marburg.de wrote: Hi, Eric Rasmussen wrote: The spreadsheet analogy isn't too literal as I'll be using this for data with a more regular structure. For instance, one grid might have 3 columns where every item in column one is a CellStr, every item

Re: [Haskell-cafe] representing spreadsheets

2011-05-27 Thread Eric Rasmussen
Thanks! I think GADTs may work nicely for this project, so I'm going to start building it out. On Fri, May 27, 2011 at 4:16 PM, Alexander Solla alex.so...@gmail.comwrote: On Fri, May 27, 2011 at 3:11 PM, Eric Rasmussen ericrasmus...@gmail.comwrote: Stephen, thanks for the link! The paper

Re: [Haskell-cafe] The Lisp Curse

2011-05-23 Thread Eric Rasmussen
of this discussion are promising. And for my part, I'm going to make an effort to participate on the wiki once I wrap a couple projects. Best, Eric On Mon, May 23, 2011 at 8:31 AM, KC kc1...@gmail.com wrote: Librarians have been struggling for years with classifying topics; I don't imagine

Re: [Haskell-cafe] The Lisp Curse

2011-05-19 Thread Eric Rasmussen
I only recently started learning Haskell and have had a difficult time convincing other Python hackers to come on board. I see two things that might help: 1) A resource to make informed decisions about different libraries. Something that includes specific criteria like how long a library has been

[Haskell-cafe] Haskell lib in non-Haskell program

2011-05-18 Thread Eric Y. Kow
should be quite straightforward as well. Thanks for reading! -- Eric Kow http://erickow.com test-mac.sh Description: Bourne shell script dist-mac.sh Description: Bourne shell script OS=$(shell uname) ifeq ($(OS),Darwin) SHARED_LIB_EXT=dylib SHARED_LIB_FLAGS=-dynamic -shared else

[Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-18 Thread Eric Y. Kow
--lazy http://darcsden.com/kowey/wxhaskell Unfortunately, this does not address Conal's issue about using wxHaskell with GHCi on Mac. I do wish somebody had a free week to concentrate on the issue. Maintainer Jeremy made some progress on it, the last time I checked... -- Eric Kow http

Re: [Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-18 Thread Eric Y. Kow
If anybody knows what this unknown symbol `__dso_handle' means and what we can do about it, it could be a great help I wonder if GHC 7 makes any of this easier... -- Eric Kow http://erickow.com pgpnPJd9AeMiH.pgp Description: PGP signature

Re: [Haskell-cafe] parsing currency amounts with parsec

2011-05-12 Thread Eric Rasmussen
: You could read hledger[1] sources for inspiration: it's written in Haskell and contains some (quite generic) currency parsing. Hi Eric.. here's the code in question: http://hackage.haskell.org/packages/archive/hledger-lib/0.14/doc/html/src/Hledger-Read-JournalReader.html#postingamount

[Haskell-cafe] Parallel Haskell Digest 2

2011-05-11 Thread Eric Y. Kow
-- Got something for the digest? Send me an email at e...@well-typed.com. I'm particularly interested in short parallelism/concurrency puzzles, cool projects for featured code. Other comments and feedback (criticism and corrections especially!) would be welcome too. -- Eric Kow http://erickow.com

[Haskell-cafe] parsing currency amounts with parsec

2011-05-09 Thread Eric Rasmussen
use), and I'd really appreciate any insight into a better way to do this, or if there are any built-in functions/established libraries that would be better suited to the task. My code below works, but doesn't seem terribly efficient. Thanks! Eric

Re: [Haskell-cafe] parsing currency amounts with parsec

2011-05-09 Thread Eric Rasmussen
On Mon, May 9, 2011 at 8:15 PM, wren ng thornton w...@freegeek.org wrote: On 5/9/11 10:04 PM, Antoine Latter wrote: On Mon, May 9, 2011 at 5:07 PM, Eric Rasmussenericrasmus...@gmail.com wrote: Hi everyone, I am relatively new to Haskell and Parsec, and I couldn't find any

Re: [Haskell-cafe] Server hosting

2011-05-06 Thread Eric Rasmussen
Has anyone tried webfaction.com with Haskell? I use them for custom Python web apps and they're great (competitive shared hosting price, ssh access, easy to setup proxy apps listening on custom ports or cgi apps with the ability to edit .htaccess). Loosely speaking it's a cross between

Re: [Haskell-cafe] ANN: timeplot-0.3.0 - the analyst's swiss army knife for visualizing ad-hoc log files

2011-05-06 Thread Eric Rasmussen
outputting the results to file then reading it in with tplot. Both worked great. Thanks, Eric On Sun, May 1, 2011 at 12:14 PM, Eugene Kirpichov ekirpic...@gmail.comwrote: Hello, Sorry for the broken link: the correct link to the presentation is: http://jkff.info/presentations/two-visualization

Re: [Haskell-cafe] Computational Semantics w/ Functional Programming, Jan van Eijck and Christina Unger, 2010. It's in #Haskell. :)

2011-05-03 Thread Eric Kow
we're slowly creeping up to a point where the list will sort of explode into being. The thing I'm most looking forward to is people making combined use of packages, joining up work by two completely unrelated groups. -- Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow For a faster response, try

Re: [Haskell-cafe] Comparison of common Haskell libraries (Was: Good reads?)

2011-04-27 Thread Eric Rasmussen
Thank you -- I will try your spreadsheet package for sure, and when I have more expertise in this area I'd be happy to contribute to the wiki. On Wed, Apr 27, 2011 at 3:00 AM, Henning Thielemann schlepp...@henning-thielemann.de wrote: Eric Rasmussen schrieb: Also, in the spirit

Re: [Haskell-cafe] converting prefixes of CString - String

2011-04-26 Thread Eric Stansifer
; it shouldn't be too much trouble to implement it myself, by imitating the existing 'decode' function but changing its behavior when it runs out of input in the middle of a utf8-character. Also key is the property s1 ++ s2 == decode (encode s1)) ++ decode (encode s2)) holds. Thanks, Eric

[Haskell-cafe] Haskell User Group starter kit

2011-04-26 Thread Eric Y. Kow
idea to the kit? More welcome, of course :-) -- Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow For a faster response, try +44 (0)1273 64 2905 or xmpp:ko...@jabber.fr (Jabber or Google Talk only) pgpuG7vIxZHIv.pgp Description: PGP signature

Re: [Haskell-cafe] Good reads?

2011-04-26 Thread Eric Rasmussen
on Hackage and reading up on different approaches, I can't seem to find a consensus in Haskell. If anyone knows of a book/resource that breaks down different approaches to common problems and when/why you might choose one over the other, I'm very interested. -Eric Rasmussen On Tue, Apr 26, 2011

[Haskell-cafe] converting prefixes of CString - String

2011-04-25 Thread Eric Stansifer
to handle this problem in full generality. Thanks, Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] parallel-haskell mailing list

2011-04-14 Thread Eric Y. Kow
://groups.google.com/group/parallel-haskell Or for those of you who prefer GMane http://dir.gmane.org/gmane.comp.lang.haskell.parallel Enjoy! Eric -- Got news for the Parallel Haskell Digest? Send a mail to e...@well-typed.com! pgp2azpIL6ffL.pgp Description: PGP signature

[Haskell-cafe] Parallel Haskell Digest 1

2011-03-31 Thread Eric Y. Kow
/concurrency puzzles, cool projects for featured code. Other comments and feedback (criticism and corrections especially!) would be welcome too. -- Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow For a faster response, try +44 (0)1273 64 2905 or xmpp:ko...@jabber.fr (Jabber or Google Talk only

[Haskell-cafe] darcs hacking sprint #6 (1-3 April, Paris)

2011-03-04 Thread Eric Kow
Freedom Conservancy for making fundraising and reimbursements so painless! If you can't join us in person, but you'd like to cheer us on, say hello at http://darcs.net/donations.html! Looking forward to seeing you! Eric PS. Berets optional. -- Eric Kow http://www.nltg.brighton.ac.uk/home

Re: [Haskell-cafe] A practical Haskell puzzle

2011-03-03 Thread Eric Mertens
cramming all of the possible layer input and output types into one giant ADT in such a solution. -- Eric Mertens ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] darcs hacking sprint #6 (March, April, or May 2011)

2011-02-24 Thread Eric Kow
or to Haskell. We have an ample supply of enthusiasm and ProbablyEasy bugs to help you get started. See http://wiki.darcs.net/Recruitment for some ideas and also have a look at http://wiki.darcs.net/Development to see how to start coding on Darcs. Looking forward to see you! Guillaume and Eric

[Haskell-cafe] Building a shared library with FFI on x86_64

2011-01-27 Thread Eric Webster
I have a project that involves building a shared library containing code generated by GHC and exposed using the foreign function interface to other C programs that link against it. I'm able to build a functioning library without issue on 32bit x86 systems using GHC 6.8.2 and 6.12.3. When I try

Re: [Haskell-cafe] Building a shared library with FFI on x86_64

2011-01-27 Thread Eric Webster
Thanks to http://www.well-typed.com/blog/30 I was able to figure out what I was doing wrong. Replacing -optl -shared with just -shared and using -dynamic allows linking to complete. :D On 2011-01-27 11:59 AM, Eric Webster wrote: I have a project that involves building a shared library

[Haskell-cafe] Freeglut

2011-01-03 Thread Eric
) Can anyone help? Eric M. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] thread safety, IO arrays, and IO refs

2010-12-31 Thread Eric Stansifer
. The online tutorials I've seen aren't so in-depth, either. Thanks, Eric ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

  1   2   3   >