Re: [Haskell-cafe] Different answers on different machines

2013-06-02 Thread Henry Laxen
a 64. I changed everything from Int to Integer, and now both agree. Thanks for the pointer. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Combining State and List Monads

2012-08-24 Thread Henry Laxen
, State, or who knows what would result in: ([(1,1),(1,2),(2,1),(2,2)],4) assuming we initialize the state to 0 Is there any way to make this happen? Thanks in advance. Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Beginning Data.Lens tutorial

2011-12-10 Thread Henry Laxen
Dear Group, If you haven't used lenses before, (as I hadn't until recently) you may find this helpful: http://www.nadineloveshenry.com/haskell/lensExamples.html Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Henry Laxen
-1.2.0.1. Adding it back got aeson-native-0.3.3.1 and later snap-0.6 to compile just fine. So I guess my question is: Is there a reason that the map instance was removed from deepseq-1.2.0.1, and can we please put it back in? Thanks. Best wishes, Henry Laxen

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Henry Laxen
Daniel Fischer daniel.is.fischer at googlemail.com writes: For your unfortunate combination, consider reverting to a prior deepseq version, or manually provide the instance where needed (I recommend the former). Thank you Daniel, for clearing that up. Best wishes, Henry Laxen

[Haskell-cafe] which tags program should I use?

2011-09-25 Thread Henry Laxen
://hackage.haskell.org/trac/ghc/ticket/1508 whose title is hasktags program needs replacement which makes me feel even more queasy. So I guess my question is, what are us disciples of the one true editor to do? Thanks in advance for you sage advice. Best wishes, Henry Laxen

[Haskell-cafe] Problems installing the haskell platform

2011-01-19 Thread Henry Laxen
with conflicting dependencies, and could not find a way out. I hope this dialog is helpful to whomever is in charge of the haskell platform, a wonderful resource by the way. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Problems installing the haskell platform

2011-01-19 Thread Henry Laxen
, but there is no debian package for snap, which I really wanted to try out. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Big Arrays

2010-10-03 Thread Henry Laxen
) (Exception [Negative range size] (False,Exception [Error in array index; 1 not in range [0..1)] It looks like array ranges can only be Ints, and not Int64 or Word64 types. Any pointers would be appreciated. Best wishes, Henry Laxen ___ Haskell-Cafe

[Haskell-cafe] Adding a field to a data record

2009-07-28 Thread Henry Laxen
field back into Foo, and read it back. Please tell me there is a better way. Thanks in advance. Best wishes, Henry Laxen PS: I have read syb1, and syb2 a couple of times now, but so far haven't been able to connect it with this kind of problem

[Haskell-cafe] Re: Adding a field to a data record

2009-07-28 Thread Henry Laxen
for a better way. Thanks. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: A Reader Monad Tutorial

2009-06-28 Thread Henry Laxen
Lee Duhem lee.duhem at gmail.com writes: Nice post. I didn't find how to add comments on your blog, so I post them here: ... Dear Lee, Thank you for your comments and corrections. I have included all of them in the new version of the article. Best wishes, Henry Laxen

[Haskell-cafe] A Reader Monad Tutorial

2009-06-27 Thread Henry Laxen
Dear Group, If any of you are struggling with understanding monads, I've tried to put together a pretty through explanation of what is behind the Reader monad. If you're interested, have a look at: http://www.maztravel.com/haskell/readerMonad.html Enjoy. Henry Laxen

[Haskell-cafe] Hack (web) and apache configuration

2009-06-25 Thread Henry Laxen
on the web. Thanks in advance for your help. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Hack (web) and apache configuration

2009-06-25 Thread Henry Laxen
Anton van Straaten anton at appsolutions.com writes: Path info is path-like data that directly follows the name of the resource being referenced, e.g.: /myfiles/foo.html/this/is/path/info A rule that would give you path info in the case you describe would be more like this:

[Haskell-cafe] Re: A generics question

2009-06-09 Thread Henry Laxen
. That is the answer I was looking for. I was trying out things from the various Scrap your Boilerplate papers, and got stuck doing something that I thought should be easy. Now it makes sense. Thanks again. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list

[Haskell-cafe] A generics question

2009-06-08 Thread Henry Laxen
of the information is already contained in the parameter c. Is there any way to do this? Thanks in advance for your wise counsel. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] MySQL, CouchDB, and Haskell

2009-06-01 Thread Henry Laxen
at the list or to me privately at nadine.and.henry -AT- pobox.com Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Problem with prepose.lhs and ghc6.10.1

2009-04-02 Thread Henry Laxen
would really like to play with the code in the paper, but I'm stuck at this point. Any pointers would be appreciated. Best wishes, Henry Laxen ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Confused by SYB example with zipping

2009-02-14 Thread Henry Laxen
) Failed, modules loaded: CompanyDatatypes. - I must admit I don't really know what to make of this. Any insights would be appreciated. Thanks. Henry Laxen ___ Haskell-Cafe mailing

[Haskell-cafe] What monad am I in?

2008-09-02 Thread Henry Laxen
: Ambiguous type variable `m' in the constraint: `Monad m' arising from a use of `increment' at interactive:1:8-18 Probable fix: add a type signature that fixes these type variable(s) Have I, like Monsier Jourdain, been running in the IO monad all my life, and didn't even know it? Thanks, Henry