Joe joesmo...@gmail.com writes:
I tried using ucycle directly from Data.Graph.Inductive.Example by
itself.
I didn't realize there were two instances of Graph. How would you use the
PatriciaTree Graph instance in the ucycle type signature?
ucycle :: Graph gr = Int - gr () ()
You must have
Am Sonntag, 16. August 2009 22:10:23 schrieb Rafael Gustavo da Cunha Pereira
Pinto:
BTW, as an enhancement for 2.2.2.0, you could treat unnamed mouse buttons.
Mouses with more axis and more buttons are becoming increasingly common,
and unmarshalMouseButton is not prepared to accept them!!
Hello! I can't understand why the following dummy example doesn't work.
{-# OPTIONS -XTypeSynonymInstances #-}
{-# OPTIONS -XFlexibleInstances #-}
module Main where
import Data.Array.Unboxed
class Particle p
type ParticleC = (Double, Double, Double)
instance Particle ParticleC
class
Hello Grigory,
Monday, August 17, 2009, 10:35:33 AM, you wrote:
Hello! I can't understand why the following dummy example doesn't work.
http://haskell.org/haskellwiki/OOP_vs_type_classes
shortly speaking, throw away your OOP experience and learn new
paradigm from scratch. also,
Somehow I didn't receive David's mail, but his explanation makes a lot
of sense. I'm still wondering how this results in a type error involving
rigid type variables.
Ryan Ingram wrote:
On Fri, Aug 14, 2009 at 12:03 PM, Dan Westonweston...@imageworks.com wrote:
But presumably he can use a
Hi
I should release a new version - the darcs version requires
haskell-src-exts 1.1.*. I'll do that tonight.
Thanks, Neil
2009/8/17 Jesús Alberto Sánchez Pimienta jesusalbertosanc...@gmail.com:
Many Thanks Neil,
I tried to build hlint before submitting to the mail list but i couldn't
On Wed, Aug 5, 2009 at 10:51 AM, gwe...@gmail.com wrote:
(Full source attached; or alternately, grab it: darcs get
http://community.haskell.org/~gwern/hcorpus )
So I have this little program which hopefully will help me learn French by
Probably off-topic, but also, I'm willing to help anyone
As I've been warned, two dependencies (Common.Utils and Common.Vector) are to
be resolved in order to use this Tetris code.
They're part of the elerea-examples package (from hackage) but their access is
not public so a solution is to modify the cabal file during installation.
Another solution
On Mon, Aug 17, 2009 at 03:17, Sven Panne sven.pa...@aedion.de wrote:
Am Sonntag, 16. August 2009 22:10:23 schrieb Rafael Gustavo da Cunha
Pereira
Pinto:
BTW, as an enhancement for 2.2.2.0, you could treat unnamed mouse
buttons.
Mouses with more axis and more buttons are becoming
As a side-note, it might be interesting to use the Vec package on Hackage,
since it seems to offer fast, unboxed linear algebra.
On Mon, Aug 17, 2009 at 2:01 PM, jean legrand kkwwe...@yahoo.fr wrote:
As I've been warned, two dependencies (Common.Utils and Common.Vector) are
to be resolved in
As I've been warned, two dependencies
(Common.Utils and Common.Vector) are to be resolved in order
to use this Tetris code.
They're part of the elerea-examples package (from hackage)
but their access is not public so a solution is to modify
the cabal file during installation.
Another
Sven Panne wrote:
and simply pass the unknown button numbers via this case. I am not so sure
about a nice name for this constructor: AdditionalButton? GenericButton? Or
simply MouseButton, just like the type itself?
How about OtherButton?
Martijn.
Hi,
One reason (there may be more) is as follows:
Grigory Sarnitskiy wrote:
class Configuration c where
getParticleI :: (Particle p) = c - Int - p
This type signature declares that for any type c that has a
Configuration instance (and an Int), you can give me back something that
is of
I haven't had enough time to polish a paper about the subject, so I decided to
post my results here, in Haskell Café.
When Simon Peyton-Jones was in Moscow about a month ago I made a bold statement
that Parallel Haskell programs, expressed with the help of par and pseq, can be
transformed into
I'm not exactly sure what you're trying to do, but the problem is that
you're trying to return a specific value where the type signature is
polymorphic.
getParticleI returns a p, (with the constraint that p is a type in the
class Particle)
This means that getParticleI can be called in any
Hi,
Just to chime in with the spate of job advertisements, the Global Modelling and
Analytics Group (GMAG) at Credit Suisse is once again looking to hire
functional programmers.
The group consists of about 130 people worldwide. The majority of the group are
mathematicians engaged in
Laszlo Nagy rizso...@gmail.com writes:
Hi All,
I was volunteer to solve this problem:
http://hackage.haskell.org/trac/summer-of-code/ticket/1565
In a conversation on the librar...@haskell.org I was suggested to
scratch my idea here.
I would use hoogle for this. Currently it stores the
Thank you all, and especially Bulat. I've folowed the links and solved the problem in a new way.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Ok, let me ask it in another way. Is there a good way to access
databases, mysql in particular, from haskell program?
On Sun, 16 Aug 2009 18:54:32 +0400
AK == Alexander Kotelnikov sa...@myxomop.com wrote:
AK
AK Hi
AK I wanted to see what access to databases HSQL provides and I stumbled in
AK
Hi
I would use hoogle for this. Currently it stores the package name and
the symbols of the modules about a package.
What do you think about hayoo? I prefer this to hoogle, as hayoo has
more complete database across hackage packages, AFAIK
Hayoo gets it package database out of haddock with
What would it take to increase the hoogle index to most of the packages on
hackage?
I have been wanting to use hoogle to search hackage for a while and I would
be interesting in helping make it happen.
- Job
On Mon, Aug 17, 2009 at 4:16 PM, Neil Mitchell ndmitch...@gmail.com wrote:
Hi
I
Alexander Kotelnikov sa...@myxomop.com writes:
Ok, let me ask it in another way. Is there a good way to access
databases, mysql in particular, from haskell program?
Use HDBC or Takusen. You can find them on hackage. HDBC is fairly usable,
but you must write SQL queries by yourself or use
Thanks for sharing this. If you haven't already, also check out
http://hledger.org/api-doc - Amount and
Commodity modules for possibly related work.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
All, I've released a raw binding to the OpenCL platform on Hackage.
The main differences between it and the C bindings are that constants
have been replaced by newtypes for type safety reasons, void-essential
functions that return a token errorcode return a Maybe ErrorCode, and
functions that
I've released a raw binding to the OpenCL platform on
Hackage. The main differences between it and the C bindings are
that constants have been replaced by newtypes for type safety
reasons, (...)
If you think there's something I could change in the package below
to make it usefull for this
25 matches
Mail list logo