#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11 12 13 
Top Prev 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 Next

#haskell

<Cheery> context blindness. :)
<sm> yup: I'd like to get this ghc & libs build to finish, so I can make install.. it has unexpectedly died because I didn't have opengl headers installed
<sorear> my code is turning into a solid mass of #
<Lemmih> sm: configure --disable-opengl && make?
<sm> that'll rebuild everything, right ?
<fasta> Lemmih: should it work with -fno-monomorphism-restriction without type annotations?
<sm> in the beginning it did say configure: WARNING: no OpenGL headers found, so this package will not be built, so I'm sad it didn't figure this out
<Pastorn_> can i map putStr over a list of strings?
<sorear> mapM_
<Pastorn_> @type mapM_
<lambdabot> forall a (m :: * -> *) b. (Monad m) => (a -> m b) -> [a] -> m ()
<sorear> Prelude> mapM_ putStr ["foo", "bar", "baz"]
<sorear> foobarbazPrelude>
<Pastorn_> yay!
<Lemmih> sm: Your sources are acting quite weird.
<sm> :(
<Lemmih> sm: Can't you use a binary package?
<sm> no, ubuntu edgy has only ghc 6.4
<Pastorn_> when writing IO, is this a correct line:
<Pastorn_> let foo = fun (bar)
<Lemmih> sm: Did you fetch the sources with darcs?
<sm> yup
<Pastorn_> to let me later adress fo
<Pastorn_> foo
<Pastorn_> ok, thanks
<Lemmih> sm: Going with a stable release might be a lot easier.
<Saizan> isn't there a linux package that works with any distro?
<sm> Lemmih: what are you suggesting :)
<sm> download a 6.6 release tarball and build that ?
<Lemmih> sm: Yes.
<sorear> sm: if you are building GHC HEAD on i386, be wary of #1151 - -fvia-C is quite broken atm (-fasm works fine)
<sm> thanks
<sorear> I suppose that's the cost of -O -/-> -fviaC ; -fvia-C has a chance to bitrot.
<Lemmih> sorear: Does that affect all programs that use -fvia-c?
<sm> is it possible I installed the 6.6 and extra-libs tarball, and then darcs updated to head ?
<sorear> Lemmih: hello world works, pretty much anything bigger is miscompiled.
<Pastorn_> @paste
<lambdabot> Haskell pastebin: http://hpaste.org/new
<sorear> lots o gcc warnings, then a (runtime) segfault
<Lemmih> sorear: Do you know why it hasn't been catched by the testsuite?
<sorear> no, and I never thought of that. thanks. /me goes looking for a -fvia-C test
<sorear> where is the testsuite in the ghc tree?
<sjanssen> sorear: have you gotten anyone else to reproduce that bug?
<sjanssen> it doesn't happen over here
<hpaste> Pastorn pasted "what's wrong?" at http://hpaste.org/546
<sorear> (is it one of the things that isn't even downloaded with --extra?)
<sorear> sjanssen: yes
<sorear> .16 from the clog - 17:01:00 <allbery_b> fwiw, with 20070213 I also get the internal error with -fvia-C
<allbery_b> I got the same failure
<allbery_b> hpasted it onto sorear's example, even

Previous Page  Next Page

Search ircarchive.info