system, and the desktop 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
, List, 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.or
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@haskel
Daniel Fischer 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 wish
but not in deepseq-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 w
easy.
A google search for hasktags igloo turns up
http://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
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
packages, I wound up 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
Has
1{-
Dear Group,
I am trying to do something that I think should be very simple, but I
just can't seem to figure out how. The idea is that I want to use
runSTUArray to build up an array, but I want to look at the array
after each iteration and possiblely accumulate some elements.
-}
import Deb
in:
*Main GOA> main
(False,True)
(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
__
where the field
names are many, long, and varied. Yes, I could cut and paste, but I'm hoping
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
7;s back to Foo's, add the z::Int 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 a
Lee Duhem 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
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.
H
Anton van Straaten 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:
>
>RewriteR
esponse
{ status = 200
, headers = [ ("Content-Type", "text/plain") ]
, body= pack $ show env
}
main = runFastCGIorCGI $ lambda app
--
One final comment to the authors of hack. Would you please
consider renaming this project. hack is such a common word that
has nothing to do with this project that it make searching the
web with google, etc. almost useless. I realize it is a clever
respelling of the ruby version "rack", but please consider naming
it something more unique, while it is still relatively new 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
rs,
> S.
>
Thank you Sterling. 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
___
all 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
me here 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
e error
message. I 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
double _ e = e
maxS (S x) (S y) = S (max x y)
Failed, modules loaded: CompanyDatatypes.
-
I must admit I don't really know what to make of this. Any insights would
be appreciated.
Tha
Ambiguous type variable `m' in the constraint:
`Monad m' arising from a use of `increment' at :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 ev
22 matches
Mail list logo