On Wed, Sep 30, 2009 at 9:32 AM, Andrew Coppin
andrewcop...@btinternet.com wrote:
I might also point out that 90% of all desktop computers run Windows, and
yet every single C library binding on Hackage fails to compile on Windows.
That really needs to be fixed. (Not to mention some of the
Great! Just a little note: MSYS isn't required to install Darcs with
cabal on Windows, just to develop or run tests.
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
Great! Just a little note: MSYS isn't required to install Darcs with
cabal on Windows, just to develop or run tests.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
2008/5/28 PR Stanley [EMAIL PROTECTED]:
Hi
(16 :: Float) is a perfectly legitimate statement although I'm surprised
that it's allowed in a type strong language such as Haskell. It's a bit like
casting in good old C. What's going on here?
Don't worry: it's not a cast.
Numeric constants like 16
2008/5/22 Marc Weber [EMAIL PROTECTED]:
I'd like to illustrate two different ideas using a small example:
(A)
data CD = CD { title :: String, tracks :: [ Track ] }
data Track = Track { track :: String, cd :: CD }
data PDB = PDB { cds :: Set CD, tracks :: Set Track }
Consider
let x = Cd ...
forkIO $ ( do something with x } -- (1)
print x -- (2)
How can ghc know when running line (2) that (1) hasen't changed the
record? I see two solutions:
a) give the forked process a copy (Then my design will collapse)
but this is expensive to copy data without
2008/5/22 Marc Weber [EMAIL PROTECTED]:
So in haskell it would look like this:
let updatedCd = 0x22 CD (0x6 My song) (0x20 ( 0x23 : ...)
updatedTrack = 0x23 Track ( 0x21 updated track title ) 0x22
in (0x27) DB (0x24 (updatedCd:otherCds)) (0x25
2008/5/21 Andrew Coppin [EMAIL PROTECTED]:
Woo!
Salvatore kindly sent me a Darcs patch, and applying it does indeed make it
run faster. Yay!
Hi Andrew,
I'm glad that -fvia-c works for you: maybe it's a Mac OS X specific bug?
Anyway, did you compile with -fvia-c -optc-O3? I expect
2008/5/17 Andrew Coppin [EMAIL PROTECTED]:
Hi folks.
OK, try this:
darcs get http://darcs.orphi.me.uk/MyMD5
cd MyMD5
ghc -O2 --make md5sum
md5sum some large filename
I've got some time to take a look at the code. It's very nice,
readable and declarative, but obviously not optimized
2008/5/20 Don Stewart [EMAIL PROTECTED]:
Probably compiling with -fvia-C could help even more, but strangely:
[roxas:~/Desktop/test2/MyMD5] kirby% ghc -fvia-C -funbox-strict-fields
-O2 --make md5sum.hs
[roxas:~/Desktop/test2/MyMD5] kirby% time ./md5sum ../../jboss-4.2.2.GA.zip
Segmentation
2008/5/18 Andrew Coppin [EMAIL PROTECTED]:
unsafeRead/Write
Found in Data.Array.Base, apparently. (I managed to find an example in the
Gtk2hs fastdraw demo.)
Oddly, this seems to make virtually no performance difference. I find this
highly surprising. But then, I perform 16 write to the
·regarding Haskell and databases, the page
http://haskell.org/haskellwiki/Libraries_and_tools/Database_interfaces
describes a few, but which are the ones that are stable and practical? Any
user experiences?
During my experiments I found Takusen
(http://darcs.haskell.org/takusen/) and
2007/10/3, Andrew Coppin [EMAIL PROTECTED]:
The entry point OpenThread could not be found in KERNEL32.dll.
Are you using NT 4? Probably GHC 6.6.1 dropped support for it (or
maybe the binary you downloaded was compiled without the support for
it), as this error message means more or less your
2007/7/29, Rahul Kapoor [EMAIL PROTECTED]:
I am having problems installing Takusen-0.6 (ghc 6.6.1 on FreeBSD)
The configure and build works fine. running ./setup install fails with:
Installing: /usr/local/lib/Takusen-0.6/ghc-6.6.1 /usr/local/bin
Takusen-0.6...
setup: Error: Could not find
2007/7/27, Bayley, Alistair [EMAIL PROTECTED]:
Also, in Sqlite 3.4, they introduced new functions for incremental
reading / writing of Blobs. I could use them in the future.
Seems reasonable. I recall Oleg saying something privately a while ago
about an API for large objects. He may have
2007/7/27, Bayley, Alistair [EMAIL PROTECTED]:
It was my intention to do it the other way around: marshall blob to Ptr
(), and then you can cast this to a Ptr CChar. Obviously you'd need to
retain the size information, so a blob basically becomes a (Ptr (), Int)
pair, just like a CStringLen...
of Blobs. I could use them in the future.
Thank you a lot for helping! I'll surely send you the patches, even if
the PackedString support will be a little Darcs-specific (I don't
think that requiring it for compiling Takusen is a good idea).
Salvatore Insalaco
2007/7/20, Tillmann Rendel [EMAIL PROTECTED]:
Re, Joseph (IT) wrote:
At this point I'm out of ideas, so I was hoping someone could identify
something stupid I've done (I'm still novice of FP in general, let alone
for high performance) or direct me to a guide,website,paper,library, or
some
I think that it's simply a buildfile error, that requires X11 even if
you are on windows.
The problem is that the building process requires running a configure
script, so it requires a cygwin environment under windows.
If you need HGL only for educational purposes, I strongly suggest
you to
src/Hide/Plugin/LoaderMidLevel.hs:126:26: Not in scope: `moduleFS'
hIDE uses low-level GHC APIs to do some of its tricks. Unfortunately, GHC
APIs change faster than hIDE, so the last version of hIDE is not compatible
with GHC 6.6.
As far as I know, in GHC 6.6 moduleFS has been renamed
20 matches
Mail list logo