It's an improvement. It's still not pretty, but I guess that's as good as
it's going to get...
Maybe this is an instance of Haskell trying to tell me if you need to write
a 20-line do-block in the middle of your function, you're doing it wrong.
20 lines is a lot, but I have smaller ones all
Don't know if you can have two connections, sounds difficult in regard
to the DBM monad. Only the deveolopers will know.
However, two obvious solutions come to my mind: 1) build a result set
and process it after returning from DBM or 2) use two separate threads
and send the queried data from your
I never used DPH, but for Matrices, I always tend to use Array (Int,Int)
Double, as it accesses its elements in O(1). Arrays also can be unboxed
(UArray), which are much faster, or monadic and mutable (MArray), which are
more flexible.
I don't know if it is possible to use Arrays with DPH...
Martijn van Steenbergen wrote:
Dear café,
I am deeply impressed with Vacuum[1][2], Ubigraph[3] and especially
their combination[4]. I can trivially and beautifully visualize the ASTs
that my parser produces. I can visualize zippers of the ASTs and confirm
that sharing is optimal.
Ubigraph
Mark, thanks for the response, it's very well thought out. Let me state two
things first to explain some of my design decisions.
Firstly, I'm shooting for lowest-common-denominator here. Right now, I see
that as the intersection between the CGI backend and a standalone server
backend; I think
Hello Günther,
I know how to use Takusen with a *single* connection, but I cannot figure
out how to read from one database while inserting to another.
At present it's not possible. The lats time you asked about it, Oleg
and I tried a design where the DBM monad becomes a DBMT monad
transformer.
Hello Alistair,
sorry for asking twice, I had forgotten that.
I took some time to try to figure out how to do it and always concluded
from my understanding of Takusen that it shouldn't be possible. At least
it seems I got that right, which is good by itself :) .
Thank you for your troubles
Tom Hawkins-2 wrote:
If you are using the latest version of Atom, asserts are checked
between the execution of every rule. The way you've coded it, it may
appear as if the assertions are checked along with the associated
rules, but this is not the case. And not only are the assertions
Johannes Waldmann wrote:
Hello.
How can I multiply matrices (of Doubles)
with dph (-0.4.0)? (ghc-6.12.1) - I was trying
type Vector = [:Double:]
type Matrix = [:Vector:]
times :: Matrix - Matrix - Matrix
times a b =
mapP
( \ row - mapP ( \ col - sumP ( zipWithP (*)
Hi Cafe,
I've created a numpy equivalent for Haskell. (Numpy is a python
library for multi-dimensional arrays and operations on them)
Code at http://github.com/yairchu/numkell
(not yet on hackage because it needs better names)
A numkell array is a pair of a function from integer inputs and a
Did you know about hmatrix (available on Hackage) before you wrote this?
yair...@gmail.com yair...@gmail.com writes:
Hi Cafe,
I've created a numpy equivalent for Haskell. (Numpy is a python
library for multi-dimensional arrays and operations on them)
Code at
On Mon, Jan 18, 2010 at 4:56 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
Did you know about hmatrix (available on Hackage) before you wrote this?
yes.
hmatrix is equivalent to other parts of numpy.
iirc hmatrix is a wrapper for algorithms from GSL+BLAS+LAPACK.
numkell is only
Tom Hawkins-2 wrote:
Would you explain what you are trying to do a bet more clearly?
Certainly. I am writing an autonomous rover. To choose the direction to
drive towards, the car compares the direction it wants to go with the
direction it is actually facing. To avoid continuously
Hi.
How can I get make install from a ghc (snapshot) source dir
to install binaries $prefix/bin/ghc{,i,-pkg}-$version
but *not* overwrite the un-versioned symlinks?
Thanks - J.W.
signature.asc
Description: OpenPGP digital signature
___
Haskell-Cafe
Hey everybody
I've been playing around with Parsec a little bit lately. I like it a
lot, but now I've hit a bit of a challenge. Suppose I have to parse a
variable length string representing a time interval. Depending on how
many fields there are, the time is either interpreted as seconds,
minutes
Am Montag 18 Januar 2010 19:09:23 schrieb david fries:
Hey everybody
I've been playing around with Parsec a little bit lately. I like it a
lot, but now I've hit a bit of a challenge. Suppose I have to parse a
variable length string representing a time interval. Depending on how
many fields
I downloaded XMonad from the Fedora 12 repository and would like to see it in
action.
What must I do to get it working from the Gnome desktop environment?
Michael
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
michael rice nowg...@yahoo.com writes:
I downloaded XMonad from the Fedora 12 repository and would like to see it in
action.
What must I do to get it working from the Gnome desktop environment?
See the associated documentation at http://www.haskell.org/haskellwiki/Xmonad
--
Ivan Lazar
Hi all,
I want to register an account on hackage's trac instance, but the
register an account link on the start page:
http://hackage.haskell.org/trac/hackage/wiki/WikiStart
is broken.
I'm guessing someone here knows what it should be and has registered
already and thus can fix it. :-)
Hi Henning,
Uniplate might be the answer you are looking for -
http://community.haskell.org/~ndm/uniplate
Uniplate is simple (only multi parameter type classes, and even then
only in a very simple usage), fast (one of the fastest generics
libraries) and concise (probably the most concise
Hey everyone!
I have a Linux machine and a OSX machine, and I am developing packages that I
would like to upload to Hackage one day. Do you have any recommendations for a
free/open source solution that would let me emulate a Windows environment for
testing purposes?
Cheers,
Greg
Do you have any recommendations for a free/open source solution that would
let me emulate a Windows
environment for testing purposes?
Sun's Virtual Box? - http://www.virtualbox.org/
You would still need a Windows license though.
Cheers,
Rahul
___
On Jan 18, 2010, at 15:12 , Rahul Kapoor wrote:
Do you have any recommendations for a free/open source solution
that would let me emulate a Windows
environment for testing purposes?
Sun's Virtual Box? - http://www.virtualbox.org/
You would still need a Windows license though.
I wonder if
Does anyone have experience with ReactOS?
Cheers,
Greg
On Jan 18, 2010, at 12:12 PM, Rahul Kapoor wrote:
Do you have any recommendations for a free/open source solution that would
let me emulate a Windows
environment for testing purposes?
Sun's Virtual Box? - http://www.virtualbox.org/
Brandon S. Allbery KF8NH allb...@ece.cmu.edu writes:
I wonder if Wine would be good enough for testing.
If memory serves me correctly, I have heard about people installing the
Windows version of GHC and using it under Wine for testing purposes...
--
Ivan Lazar Miljenovic
I'd already found a lot of these links and tried some of their suggestions,
without any success. Does anyone who posts here actually use it (what platform)?
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote:
From: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
nowgate:
I'd already found a lot of these links and tried some of their suggestions,
without any success. Does anyone who posts here actually use it (what
platform)?
What's the problem exactly?
-- Don
___
Haskell-Cafe mailing list
Hi,
I'm trying to write an arrow for a real-time stream processor. I'm
basing it on the SP type in Hughes paper on Generalising Monads to
Arrows (http://www.cs.chalmers.se/~rjmh/Papers/arrows.pdf) section 6.
I've extended this with a notion of time by making each step a function
of time.
michael rice nowg...@yahoo.com writes:
I'd already found a lot of these links and tried some of their
suggestions, without any success. Does anyone who posts here actually
use it (what platform)?
Note that XMonad has its own dedicated mailing list as well...
Michael
--- On Mon, 1/18/10,
Well, for starters the Fedora entry for installing XMonad is blank/empty:
http://www.haskell.org/haskellwiki/Xmonad/Installing_xmonad#Fedora
Some things I've done:
I set up a .xmonad directory in my home directory with this xmonad.hs
[mich...@localhost ~]$ cat ~/.xmonad/xmonad.hs
--
--
Hello Neil,
Monday, January 18, 2010, 10:56:00 PM, you wrote:
Uniplate might be the answer you are looking for -
http://community.haskell.org/~ndm/uniplate
it's brilliant! some people has the talent to discover complex things
and you have the talent to make complex things simple. it's first
In case somebody else on this planet besides me is using these... I've
just updated my handful of packages on Hackage so they should now build
with GHC 6.12.1. (In most cases, just tweaks to the package
dependancies.) I have also changed the documentation for
AC-EasyRaster-GTK, to hopefully
Oh, is Fedora still using a version of GDM that doesn't let you use a
custom .Xsession (or even remember that you want to use something that
isn't called Gnome)?
michael rice nowg...@yahoo.com writes:
Well, for starters the Fedora entry for installing XMonad is blank/empty:
Perhaps. Is there a Linux distro that's more XMonad friendly?
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote:
From: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager
To: michael rice
On Tue, Jan 19, 2010 at 7:27 AM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
Brandon S. Allbery KF8NH allb...@ece.cmu.edu writes:
I wonder if Wine would be good enough for testing.
If memory serves me correctly, I have heard about people installing the
Windows version of GHC and
Hello Gregory
If the packages are FFI-free they should just work (ahem, perhaps
with some caveats about e.g. file paths - if they have data files
included).
If they have FFI dependencies then a Windows emulator is going to have
to emulate Unix in turn (either via MinGW or Cygwin). It might be
On Mon, 2010-01-18 at 12:04 -0800, Gregory Crosswhite wrote:
Hey everyone!
I have a Linux machine and a OSX machine, and I am developing packages that I
would like to upload to Hackage one day. Do you have any recommendations for
a free/open source solution that would let me emulate a
I've been quite happy with Ubuntu's xmonad package, though I run it
within a GNOME session.
Have you tried the instructions on the XMonad wiki for inter-operating
with GNOME? http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome
On Mon, Jan 18, 2010 at 13:40, michael rice
On Mon, Jan 18, 2010 at 07:35:31PM +, Andy Gimblett wrote:
I want to register an account on hackage's trac instance, but the
register an account link on the start page:
http://hackage.haskell.org/trac/hackage/wiki/WikiStart
is broken.
Fixed - thanks for the report.
Thanks
Ian
On Mon, Jan 18, 2010 at 6:17 PM, Ian Lynagh ig...@earth.li wrote:
On Mon, Jan 18, 2010 at 07:35:31PM +, Andy Gimblett wrote:
I want to register an account on hackage's trac instance, but the
register an account link on the start page:
John Lato jwl...@gmail.com writes:
I don't know if I'd call it a hybrid, however there is a way to embed
Parsec parsers (v.3 only) in iteratee. The necessary code is
available at:
http://inmachina.net/~jwlato/haskell/ParsecIteratee.hs
This post inspired me to write an iteratee wrapper for
Hi,
this is my configuration:
My iMac and right next to it an x86 with 8GB RAM running OpenSolaris,
because of its ZFS.
On the OpenSolaris box are about 20 VMs with XP mostly installed, run by
VirtualBox in headless mode. I connect to those machines from my iMac
via Remote Desktop
Neil Mitchell schrieb:
Hi Henning,
Uniplate might be the answer you are looking for -
http://community.haskell.org/~ndm/uniplate
Thanks for the pointer!
Uniplate is simple (only multi parameter type classes, and even then
only in a very simple usage), fast (one of the fastest generics
Stephen Tetley wrote:
Also binding to a C library is easier than binding to a C++ one, if
you can think of another library rather than SRILM that will meet your
needs...
Alas, SRILM really is the standard tool for this so there aren't other
(worthwhile) options AFAIK. But it's pretty standard
So, part of the problem is that I am using my own build system (Blueprint)
rather than Cabal, which I would like to test someday to make sure it works
under windows; problems like screwing up the file paths are exactly the kind
of thing that I worry about happening. :-)
And part of the
Cafe,
We have some fantastic tools for binary parsing in packages like
binary and cereal (and presumably attoparsec, which I've not used).
But they don't quite scratch an itch I have when writing
implementations of binary communication protocols.
A good example of my problem is in my
For a completely different approach, I've had good success running
xmonad from either Ubuntu minimal (which is a bare-bones version of
Ubuntu that few people realize exists) or Arch Linux. In either case
you have to spend more time setting up the system, but the results IMO
are worth it. I
On Mon, Jan 18, 2010 at 10:39 PM, Antoine Latter aslat...@gmail.com wrote:
Cafe,
We have some fantastic tools for binary parsing in packages like
binary and cereal (and presumably attoparsec, which I've not used).
But they don't quite scratch an itch I have when writing
implementations of
This release of AFV adds counter example generation for both concrete
bounded violations or for inconclusive results when the induction
fails to converge. I also put Linux and Windows binaries here:
http://tomahawkins.org/.
http://hackage.haskell.org/package/afv
-Tom
49 matches
Mail list logo