Re: Bools are not unboxed

2004-10-05 Thread John Meacham
and 2# == No. Then we get the Bool optimization for free. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: Marshalling Haskell String - UTF-8

2004-09-01 Thread John Meacham
in the library. There is some code by John Meacham including UTF-8 conversion at I should mention I have a new version of the CWString library in development that conforms to the new FFI spec and works on all posixy systems, not just those that have unicode wchar_t's like my first posting

Re: Bug in compiling large projects ?

2004-08-25 Thread John Meacham
Just a thought... but do you have mutually recursive modules with incorrect or non-existant .hi-boot files? I have encounted similar 'transient' problems like the ones described when that was the problem. John -- John Meacham - repetae.netjohn

Re: Announce: hs-plugins-0.9.6

2004-08-16 Thread John Meacham
like this info should be somewhere in the ghc manual... John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: Existential type... problem...

2004-07-27 Thread John Meacham
(GuiRecord) are you sure EditableTable, MozEmbed, Position, and Entry don't take type arguments? because that would explain the error message (but it is odd that it is being reported at the type declaration) John -- John Meacham - repetae.netjohn

reading ghc core files in vim

2004-07-23 Thread John Meacham
silent %s/GHC\.IOBase\.//eg endfunction do GhcCore BufRead -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: major missing piece to arrays?

2004-07-16 Thread John Meacham
faster. perhaps something like the foo# :: Addr# trick? like foreign data counter 4 :: Ptr Int to reserve 4 bytes in the bss... hmm.. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http

ForeignPtr performance.

2004-07-16 Thread John Meacham
$ \s - case touch# fp s of s - (# s, () #) is good enough to keep things alive. this is also why it is safe to UNPACK the IORefs in FP -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org

Re: major missing piece to arrays?

2004-07-15 Thread John Meacham
, in my tests, arrays implemented via ByteArray# or Ptr a seem to be signifigantly faster than those implemented via ForeignPtr. Is this expected? John -- John Meacham ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org

Re: Haskell module for SWIG

2004-06-30 Thread John Meacham
installed. If anyone is looking for a random project, I recommend it. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: how to determine a programs memory usage at runtime?

2004-06-21 Thread John Meacham
it into the getrusage structure too) There might be some RTS calls to query the heap, but someone else is probably more qualified to comment on that. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED

GMP

2004-06-09 Thread John Meacham
would be quite a useful addition to ghc. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: Syntax for output-only arrows?

2004-06-08 Thread John Meacham
that is. -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

deriving Typeable

2004-06-02 Thread John Meacham
this limitation other than manually expanding Y everywhere I want to use it (which I really don't want to do)? Is the limitation inherent to the way Typeable works, or is it just that no one has implemented it yet? -- John Meacham - repetae.netjohn ___ Glasgow

ghc web page

2004-06-01 Thread John Meacham
to someone to get it fixed? thanks. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

config.h namespace clashes

2004-03-01 Thread John Meacham
or make it tricky to get at the GHC one if it is actually the one you want. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: config.h namespace clashes

2004-03-01 Thread John Meacham
, they probably were conflicting a lot before, but the symtoms were hidden. At least that was what I determined from my post-mortem when figuring out why the compiler started horking on -Werrors with ghc 6.2. John -- --- John

optimization question

2004-02-22 Thread John Meacham
it to the second. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: GHC 6.2 breaks multiline string literals

2003-12-28 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell

Re: GHC and UNICODE...

2003-12-19 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell-users mailing list [EMAIL

ghc cvs breaks LINE pragma?

2003-12-13 Thread John Meacham
? -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell

Re: ghc cvs breaks LINE pragma?

2003-12-13 Thread John Meacham
ah.. silly me. It turns out I just needed to switch the order of the filename and line number. apparently 6.01 was a bit more forgiving that 6.3... sorry bout that. John -- --- John Meacham - California Institute

ghc warnings messed up in 6.01

2003-12-07 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell-users mailing list

auto cost centres for where decls

2003-11-19 Thread John Meacham
= ... where {-# SCC foo #-} baz = ... bar = ... would cause baz and bar to have cost centres named foo.baz and foo.bar John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL

Re: bracket, (un)block and MonadIO

2003-09-04 Thread John Meacham
about it, although a suitable catch can be written for most all mondads it was not certain whether there were some for which it couldn't be. http://haskell.org/pipermail/libraries/2003-February/000774.html -- --- John Meacham

Re: fast CString - IO PackedString fuction

2003-08-21 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell-users mailing list [EMAIL

Re: state of ghc6 on sparc

2003-06-19 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo

Re: @-bindings broken in 6.0?

2003-06-18 Thread John Meacham
PROTECTED] | On Behalf Of John Meacham | Sent: 18 June 2003 03:24 | To: [EMAIL PROTECTED] | Subject: @-bindings broken in 6.0? | | change in list comprehension parsing? | after I upgraded to ghc 6.0 there were some odd syntax errors on list | comprehensions which i did not get before, making sure

@-bindings broken in 6.0?

2003-06-17 Thread John Meacham
to work? just curious. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

directories not closed?

2003-06-09 Thread John Meacham
the fixes for sockets not getting properly closed all the time make it into 6.00? I am trying to track down some out of descriptor problems. thanks. John -- --- John Meacham - California Institute of Technology, Alum

ptrace for profiling?

2003-03-31 Thread John Meacham
. is this plausible? John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: Shutting Down the RTS

2003-01-12 Thread John Meacham
___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: Profiling question

2003-01-06 Thread John Meacham
/glasgow-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: reaping fd's and flushing buffers

2003-01-03 Thread John Meacham
-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

--show-iface bug?

2002-12-28 Thread John Meacham
to work. this is on redhat 7.3 and the RPMs from the ghc site. I dont seem to be getting 'heapCensus' errors anymore which is good. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: Generating unique labels ...

2002-12-07 Thread John Meacham
___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: Network Programming with Haskell ?

2002-12-01 Thread John Meacham
___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: incremental linking?

2002-11-27 Thread John Meacham
-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow

Re: strange error

2002-11-14 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell

bug in unix/System/Posix/Files.hsc

2002-11-14 Thread John Meacham
readSymbolicLink is broken, it assumes that readlink(2) null terminates its result when it doesn't. this causes all sorts of badness. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL

strange error

2002-11-13 Thread John Meacham
fatal error: evacuate: strange closure type 55436 although I have not been able to reproduce it... -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: strange error

2002-11-13 Thread John Meacham
of ghcs extensions including the FFI (via hsc2hs). On Wed, Nov 13, 2002 at 12:17:55PM -0800, John Meacham wrote: fatal error: evacuate: strange closure type 55436 although I have not been able to reproduce

Re: IO security

2002-10-04 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo

Re: DeepSeq

2002-07-23 Thread John Meacham
be nice too. J.A. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham - California

System.system broken?

2002-07-16 Thread John Meacham
) note that it appears the first three characters are being droped from the first argument to execve. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: possible readline license problem with ghc and -package util

2002-06-13 Thread John Meacham
there. I'm absolutely not blaming Simon for it though. It's really hard for me to try not to insult anyone. I'll shut up now, I've made my point. -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL

Re: possible readline license problem with ghc and -package util

2002-06-11 Thread John Meacham
___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: Dynamic types: GHCI works, GHC doesn't?

2002-06-02 Thread John Meacham
+psych) ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham - California Institute

Re: An answer and a question to GHC implementors [was Re: How to make Claessen's Refs Ord-able?]

2002-04-11 Thread John Meacham
) return x where var = unsafePerformIO $ newIORef Nothing -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: FFI

2002-01-13 Thread John Meacham
at the moment. Cheers, Manuel ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- --- John Meacham

Re: ghc image size

2001-12-14 Thread John Meacham
-haskell-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: GC options. Reply

2001-08-07 Thread John Meacham
-users -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow

Re: Happy and Macros (was Re: ANNOUNCE: Happy 1.10 released)

2001-05-10 Thread John Meacham
the tricks Happy does I'd be surprised). AFAIK none of the combinator libraries gives you (b). -- -- John Meacham http://www.ugcs.caltech.edu/~john/ California Institute of Technology, Alum. [EMAIL PROTECTED

<    1   2   3