#haskell - Mon 19 Feb 2007 between 09:51 and 10:18

NY Lost Funds



quicksilversyntaxfree: :)
syntaxfree: replace the second 'x' by a zer0
syntaxfree: I think. Or remove it.
dcoutts_Cale, it must be happening because Cabal is guessing wrongly about how many args it can fit into the space allowed. Cabal already has logic to call ld and ar multiple times when there are 1000's of little .o files.
CaleWhat's the correct way to do it?
Do you know what the magic number mismatch thing means?
I just tried doing ar q libname.a <first half of .o's>; ar q libname.a <second half>
Saizanthe 7.1 tarball compiled fine on win32+msys btw
(ah ghc has it's own ar..)
dcoutts_Cale, yep, calling ar on the same .a file is the right thing to do (btw, 'q' does nothing
Caledcoutts_: okay, then the problem was something else.
I got:
Bad interface file: /usr/local/lib/hxt-7.1/Text/XML/HXT/Arrow.hi
magic number mismatch: old/corrupt interface file?
Oh, great, now it's happening with 7.0 as well.
Perhaps this is a GHC 6.6 thing?
dcoutts_Cale, that's nothing to do with ar
Caleokay, I was misled by that being the point in the install where things failed.
What does that message actually mean?
dcoutts_it means ghc can't read the .hi file
it's trying to compile something that uses that module and so reads the .hi file
actiondcoutts_ -> off to teach
dcoutts_-> off to teach
Calehmm
Eightyis there an assert function in the standard libraries?
ndm@hoogle assert
lambdabotControl.Exception.assert :: Bool -> a -> a
Test.HUnit.Base.assert :: Assertable t => t -> Assertion
Control.Exception.assertions :: Exception -> Maybe String
ndmEighty: yes, the first one :)
Eightyokies
Calesyntaxfree: http://syntaxfree.wordpress.com/2007/02/13/ugh-such-a-proud-display-of-sheer-irrationality/#comment-408
lambdabothttp://tinyurl.com/25zktu
syntaxfreeI don't understand wht Parsec doesn't seem to have a simple "negate" parser combinator.
succeed if the parser argument fails, return empty string.
Cale: great comment!
I'll respond in place for posterity.
twanvlsyntaxfree: negate a = try (a >> fail) `mplus` return () ?
syntaxfreetwanvl: hmm.
11:15 < syntaxfree> Cale: great comment!
11:15 < syntaxfree> I'll respo)] [Act: 1,2]] [Act: 1,2]

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 

IrcArchive

NY Lost Funds