Johan Tibell wrote:
If Chris is indeed out of the loop we should find a new maintainer.
Mark and I are also interested in the future of protocol buffers in
Haskell.
Also, Chris is the maintainer of some regex packages
that are in the Haskell Platform.
-Yitz
I am trying to use code from the book `The Haskell School of Expression'
on an iMac with Mac OS X Lion. I have installed the latest version of
Haskell Platform (2011.4.0.0 64bit). I then followed step 1 on the Web
page http://www.cs.yale.edu/homes/hudak/SOE/software1.htm, and did
`cabal install
Sjoerd,
I have a hard time believing you have implemented the semantics that people
have agreed on to be a sensible semantics for hybrid sets.
Noted.
Cheers,
Stefan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Mon, 23 Apr 2012 16:26:11 +0200, Aleksey Khudyakov
alexey.sklad...@gmail.com wrote:
On 23.04.2012 17:01, Paul Graphov wrote:
Hello Cafe!
I am using protocol-buffers and hprotoc packages but they fail to
compile with recent GHC due to trivial errors. Hackage names
Christopher Edward
On 4/23/2012 10:17 PM, Brandon Allbery wrote:
On Mon, Apr 23, 2012 at 17:16, Gregg
Lebovitz glebov...@gmail.com
wrote:
On 4/23/2012 3:39 PM, Brandon Allbery
wrote:
On Thu, 2012-04-19 at 11:12 -0400, Ryan Newton wrote:
Hello all,
Right now I'm trying to answer a simple question:
* Would the current Haskell.org / hackage infrastructure benefit
from the donation of a dedicated VM with good
bandwidth/uptime?
Whoever already knows
There's two options I think:
1. a machine for the central hackage server,
2. a machine for doing package builds
The former will require more organisation, partly because we need the
haskell.org people to have some degree of control over the system. The
latter is easier because the
I wonder if this could get to the point where it could be done
seti-at-home style, farmed out via a VM image. That is people would run
the image to provide resources (and geographic distribution) to the build
server cloud. Maybe they get a fast local mirror as a reward.
If it were every
Hello,
Up until now I've been using Aeson, but I've found that its number type
isn't going to work for me. I need to use decimal numbers while avoiding
conversions from and to Double, which Aeson doesn't allow. There are
quite a few more JSON libraries for Haskell, which all appear to use
initIdentityMat :: Int - ST s (STUArray s (Int,Int) ((Int, Int), Double))
initIdentityMat m = newListArray ((1,m),(1,m)) ([((i,j), if i == j then 1.0
else 0.0) | i - [1..m], j - [1..m]] :: [((Int,Int), Double)])
Doesn't seem to compile, nor do minor variations of the type declaration.
--
--
Hello,
I could be wrong, but I think the only real numeric type in javascript
is 'Number' which is a floating point number? Which is why Aeson and
others insist on converting everything to a Double or other Rational
number?
- jeremy
On Tue, Apr 24, 2012 at 3:46 PM, Jeff Shaw shawj...@msu.edu
Hi Jeremy,
Sorry if I was unclear. Rational is acceptable to me as the result of a
JSON parse, but Double (which Aeson uses), is not. Also acceptable would
be Data.Decimal.Decimal, or maybe one of the types from Data.Fixed.
JSON doesn't specify a data type for numbers, only a format.
Jeff
JSON numbers are not equivalent to JavaScript/ECMAScript numbers, even if
they are nominally related; the key differences are that in JSON, numeric
literals:
(a) can have any non-zero number of digits, effectively making JSON numbers
both unbounded and arbitrarily precise (though actual
Your problem is that you're including the (i, j) in your array element
type, when you really only want it to be in your index type (I assume).
This would not normally be an issue, but an unboxed array doesn't work on
an element type of ((Int, Int), Double).
You might consider instead making a new
On Tue, Apr 24, 2012 at 3:20 PM, KC kc1...@gmail.com wrote:
initIdentityMat :: Int - ST s (STUArray s (Int,Int) ((Int, Int), Double))
initIdentityMat m = newListArray ((1,m),(1,m)) ([((i,j), if i == j then
1.0 else 0.0) | i - [1..m], j - [1..m]] :: [((Int,Int), Double)])
Doesn't seem to
Hello,
Have you emailed Bryan O'Sullivan and explained your problem? It
sounds to me like choosing Double was just the wrong choice and is a
design flaw that should be fixed in Aeson?
There are far too many JSON libraries on hackage already, and what
would be really useful (to me) is for the
Hello cafe,
For various reasons, some packages don't build documentation on hackage:
http://hackage.haskell.org/package/accelerate
Therefore I want to locally install documentation for a set of packages
like this and host them on a separate website. I want all of these ~ten
packages'
This is sort of related to ticket #130:
http://trac.haskell.org/haddock/ticket/130
And this one seems to hint at a solution to the problem in the more
extensive syntax for --read-interface.
http://hackage.haskell.org/trac/ghc/ticket/3810
(My local haddock-2.10.0 --help doesn't mention
On 4/23/12 9:18 AM, Stefan Holdermans wrote:
Sjoerd,
This is not just about map, but it also a problem for the Monoid instance. You
are basically adding an extra identity element, 0, to the max monoid, which
works but is weird.
Still that's how union is typically defined for hybrid sets.
On 4/23/12 10:26 AM, Aleksey Khudyakov wrote:
On 23.04.2012 17:01, Paul Graphov wrote:
Hackage names Christopher Edward Kuklewicz as their maintainer. I've sent him
patches more than a month ago but neiter they were applied nor I got
any response. [...]
I've too tried to contact him almost
Thank you.
One is ONLY supposed to supply the list elements for newListArray which
fill the array in increasing order.
On Tue, Apr 24, 2012 at 3:21 PM, Kevin Charter kchar...@gmail.com wrote:
On Tue, Apr 24, 2012 at 3:20 PM, KC kc1...@gmail.com wrote:
initIdentityMat :: Int - ST s (STUArray
On 4/23/12 11:39 AM, Gregg Lebovitz wrote:
On 04/23/2012 12:03 AM, wren ng thornton wrote:
However, until better technical support is implemented (not just for
GHC, but also jhc, UHC,...) it's best to follow social practice.
Wren, I am new to Haskell and not aware of all of the conventions.
On 4/24/12 9:59 AM, Gregg Lebovitz wrote:
The question of how to support rapid innovation and stable
deployment is not an us versus them problem. It is one of staging releases. The
Linux kernel is a really good example. The Linux development team innovates
faster than the community can absorb
On 4/23/12 3:06 PM, Alvaro Gutierrez wrote:
I see. The first thing that comes to mind is the notion of module
granularity, which of course is subjective, so whether a single module or
multiple ones should handle e.g. doubles and integrals is a good question;
are there guidelines as to how those
On Wed, 25 Apr 2012 05:44:28 +0200, wren ng thornton w...@freegeek.org
wrote:
On 4/23/12 11:39 AM, Gregg Lebovitz wrote:
On 04/23/2012 12:03 AM, wren ng thornton wrote:
However, until better technical support is implemented (not just for
GHC, but also jhc, UHC,...) it's best to follow
25 matches
Mail list logo