I patch broken packages in my local repository. I increment a version
so the local repository get a precedence over the Hackage.
On 16.07.10 03:54, Mark Wotton wrote:
2. run my own hackage server and tell my users to use that instead.
--
Best regards,
Roman Beslik.
Hi. I have composed a patch that implements Foreign.C.String according
to Foreign Function Interface Addendum, i.e. C strings are treated as
they are encoded with the current locale. Search Locale.hs in the
patch for further directions. Ask if you do not know how to build a
patched version of
That works fine for my own stuff, but I'd like it to work for people
using my software that relies on those packages.
mark
On Sat, Jul 24, 2010 at 4:10 PM, Roman Beslik ber...@ukr.net wrote:
I patch broken packages in my local repository. I increment a version so
the local repository get a
One issue that comes up is that when you fork a package, data can no
longer be freely exchanged between libraries using the original
package's datatypes and libraries using the forked package's
datatypes. Something that might help here is the concept of
extension or friend packages or modules:
On 24 Jul 2010, at 02:15, Tim Matthews wrote:
Any of the haskellers here from NZ?
I am in Wellington, Stephen is near Palmerston North. There are a few others
elsewhere I think.
Are you using haskell in production, internally within your company or just
outside of work in your own time?
I
Don Stewart d...@galois.com writes:
We're pleased to announce the fifth release of the Haskell Platform: a
single, standard Haskell distribution for everyone.
Download the Haskell Platform 2010.2.0.0:
http://hackage.haskell.org.nyud.net/platform/
(Caching server).
The specification,
Hi, I was just wondering if this is possible, I would like to use a gcc port
which cross compiles to the PPC architecture (Wii DevkitPPC to be specifically:
http://wiibrew.org/wiki/DevkitPPC) for a platform that is not POSIX compatible I
believe (at least not fully or maybe I'm wrong entirely).
can't speak as to how difficult it is to get GHC built unregisterised,
but you might want to consider JHC if you don't need to use a lot of
Hackage. It compiles to C without a special RTS needed, which might
make it a lot easier.
mark
On Sat, Jul 24, 2010 at 8:45 PM, Korcan Hussein
El vie, 23-07-2010 a las 23:27 -0400, Ronald Guida escribió:
I am trying to figure out how to use GHC's arrow commands, and I found
some extremely weird behavior.
CC'ed to ghc-users, because this may be a ghc bug.
In GHC's manual, there is a description of arrow commands, which I
don't
On Sat, Jul 24, 2010 at 01:10:56PM +0200, Jürgen Doser wrote:
This seems to be a bug in ghc. First, let's fix bar to give the full
three arguments (Int, Float, Double) to g:
bar f g = proc x - do
(f - x) `foo` (\n m k - g - (n,m,k))
ghc infers the type:
bar :: (t - String) -
Hi,
I have a problem with the data constructor NodeMap
Data.Graph.Inductive.NodeMap
of the graph library fgl-5.4.2.3 (also fgl-5.4.2.2):
I cannot access the data constructor NodeMap, as the ghci session shows:
Prelude :m Data.Graph.Inductive.NodeMap
Prelude Data.Graph.Inductive.NodeMap :t
Immanuel Normann immanuel.norm...@googlemail.com writes:
Hi,
I have a problem with the data constructor NodeMap
Data.Graph.Inductive.NodeMap
of the graph library fgl-5.4.2.3 (also fgl-5.4.2.2):
I cannot access the data constructor NodeMap, as the ghci session shows:
Prelude :m
CC-ing haskell-cafe again:
Immanuel Normann immanuel.norm...@googlemail.com writes:
2010/7/24 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
Immanuel Normann immanuel.norm...@googlemail.com writes:
Afterall, my purpose is to get access to the map in a NodeMap and finally
to
apply lookup
Once again cc-ing -cafe; Immanuel, can you please do reply to all
rather than just reply in GMail? :p
Immanuel Normann immanuel.norm...@googlemail.com writes:
2010/7/24 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
CC-ing haskell-cafe again:
Immanuel Normann
2010/7/24 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
Once again cc-ing -cafe; Immanuel, can you please do reply to all
rather than just reply in GMail? :p
Oh, yes I forgot - sorry!
Thanks for all the valuable infos :-)
Immanuel
Immanuel Normann immanuel.norm...@googlemail.com
I wouldn't-it was a bad example. My only point was that because of the
way (=) is implemented for lists the order of the arguments 'a' and
'b' in 'liftM2 f a b' matters.
-deech
On Sat, Jul 24, 2010 at 1:37 AM, Lennart Augustsson
lennart.augusts...@gmail.com wrote:
Why would you expect swapped
On Sat, Jul 24, 2010 at 4:08 PM, aditya siram aditya.si...@gmail.com wrote:
I wouldn't-it was a bad example. My only point was that because of the
way (=) is implemented for lists the order of the arguments 'a' and
'b' in 'liftM2 f a b' matters.
-deech
No, it's not. The type of liftM2 makes
Perhaps I'm being unclear again. All I was trying to say was that:
liftM2 (-) [0,1] [2,3] /= liftM2 (-) [2,3] [0,1]
-deech
On Sat, Jul 24, 2010 at 9:30 AM, Max Rabkin max.rab...@gmail.com wrote:
On Sat, Jul 24, 2010 at 4:08 PM, aditya siram aditya.si...@gmail.com wrote:
I wouldn't-it was a bad
For those interested, the overall results are in:
http://ivanmiljenovic.wordpress.com/2010/07/25/results-of-fgl-naming-survey/
Ivan Miljenovic ivan.miljeno...@gmail.com writes:
Thank you for all the people who have voted; we so far have 42 results
in about 12 hours.
Some indication of the
Prelude Control.Monad liftM2 (\a b - a : b : []) abc 123
[a1,a2,a3,b1,b2,b3,c1,c2,c3]
Prelude Control.Monad
Got it!
Thanks to all.
Michael
--- On Sat, 7/24/10, aditya siram aditya.si...@gmail.com wrote:
From: aditya siram aditya.si...@gmail.com
Subject: Re: [Haskell-cafe] Heavy lift-ing
To:
Hi,
I am studying the Haskell type class system as part of a language
comparison thesis. At this point I am looking at how default function
definitions are handled in classes. Functions are usually defined in
instances, not classes. I appreciate that the code below may not be an
appropriate way to
I did initially thought about it and had reservations but you convinced me so
I've been trying out jhc. Seems a lot more promising but unfortunately I had
problems, here's my targets.ini:
[wii]
cc=powerpc-eabi-gcc
byteorder=be
gc=static
cflags+=-DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
On Saturday 24 July 2010 19:59:26, Patrick Browne wrote:
module A where
data Person = Person String Integer deriving Show
data Employee = Employee String Integer deriving Show
class C1 c1 where
age :: c1 - Integer
-- add default impl, can this be defined only once at class level?
--
On Jul 24, 2010, at 10:59 AM, Patrick Browne wrote:
class C1 c1 where
age :: c1 - Integer
-- add default impl, can this be defined only once at class level?
-- Can this function be redefined in a *class* lower down the
heirarchy?
age(c1) = 1
Yes, but keep in mind that the hierarchy is
C K Kashyap schrieb:
Hi,
At my work we ran into a situation where we started wishing there was a
way to take a dynamically linked executable and create a statically
linked bundle out of it. Little bit of googling got me to statifier -
http://statifier.sourceforge.net/statifier/main.html.
I
This works:
Prelude System.Random do { randomRIO (1,6) = (\x - putStrLn $ Value = ++
show x) }
Value = 5
So does this:
Prelude System.Random do { x - randomRIO (1,6); putStrLn $ Value = ++ show
x }
Value = 2
But not this:
1 import Control.Monad
2 import System.Random
3
4 foo :: IO ()
5
You have to fix the type of 1 and 6, e.g. by writing
x - randomRIO (1, 6) :: IO Int
or
x - randomRIO (1, 6 :: Int)
GHCi defaults integral numbers to Int, that's why it works there.
On 24 July 2010 21:36, michael rice nowg...@yahoo.com wrote:
This works:
Prelude System.Random do {
Thanks, Tobias. I figured it was something like that but lack the syntax
expertise on where to put it.
MIchael
--- On Sat, 7/24/10, Tobias Brandt tob.bra...@googlemail.com wrote:
From: Tobias Brandt tob.bra...@googlemail.com
Subject: Re: [Haskell-cafe] Type problems
To: michael rice
On Saturday 24 July 2010 21:36:14, michael rice wrote:
This works:
Prelude System.Random do { randomRIO (1,6) = (\x - putStrLn $ Value
= ++ show x) } Value = 5
So does this:
Prelude System.Random do { x - randomRIO (1,6); putStrLn $ Value =
++ show x } Value = 2
But not this:
1
Andrew Coppin wrote:
Given a suitable definition for Vector2 (i.e., a 2D vector with the
appropriate classes), it is delightfully trivial to implement de
Casteljau's algorithm:
de_Casteljau :: Scalar - [Vector2] - [[Vector2]]
de_Casteljau t [p] = [[p]]
de_Casteljau t ps = ps : de_Casteljau
Patrick Browne wrote:
Hi,
I am studying the Haskell type class system as part of a language
comparison thesis. At this point I am looking at how default function
definitions are handled in classes. Functions are usually defined in
instances, not classes. I appreciate that the code below may not
Hi,
I am trying to understand the data type declaration below.
What is the relation between class C3 and the data type Address below?
Where is such a technique used?
Thanks,
Pat
module A where
data Person = Person String Integer deriving Show
data Employee = Employee String Integer deriving
I managed to get a hello world app working on the Wii! but I had to do some
hacking of the generated C code because the devkitPPC is missing 2 posix
headers referenced in the generated C code from Jhc. The functions the code
used from those headers didn't seem completely essential. Basically I
On 25 July 2010 05:50, Tobias Brandt tob.bra...@googlemail.com wrote:
You have to fix the type of 1 and 6, e.g. by writing
x - randomRIO (1, 6) :: IO Int
or
x - randomRIO (1, 6 :: Int)
GHCi defaults integral numbers to Int, that's why it works there.
The default numeric type is Integer,
I am the author of direct-sqlite, and I thank you for the bug report.
I'll be fixing this as soon as I'm able. It's always nice to hear
about people using my code!
On Wed, Jul 21, 2010 at 2:10 AM, Michael Snoyman mich...@snoyman.com wrote:
On Wed, Jul 21, 2010 at 8:59 AM, Gour
Sorry I didn't send it earlier, it must have slipped my mind.
On Sun, Jul 25, 2010 at 3:07 AM, Dan Knapp dan...@gmail.com wrote:
I am the author of direct-sqlite, and I thank you for the bug report.
I'll be fixing this as soon as I'm able. It's always nice to hear
about people using my code!
Looks like the crash is due to ASLR (Address Space Layout Randomization).
You need to disable it for it to work. You can disable ASLR very easily -
check out
http://stackoverflow.com/questions/1455904/how-to-disable-address-space-randomization-for-a-binary-on-linux
for
instance
Statifier worked
37 matches
Mail list logo