Haskell library proposal and constructor classes

1996-03-08 Thread Sven Panne
a, Collection col a) = a - a - col a - col a addRange start end c = foldr add c [start..end] test :: SList Char test = addRange 'a' 'z' empty \end{code} ---SNIP--SNIP--SNIP--SNIP--SNIP--SNIP--SNIP--SNIP--- -- Sven Panne Tel.: +49/89/21106

Call for parsers, short summary

1997-11-24 Thread Sven Panne
category theory. -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL PROTECTED]D-80538 Muenchen http

Re: Sockets Green Card

1998-05-05 Thread Sven Panne
with Green Card per se, but both things are needed for some planned/running projects here and I suspect this combination will not be uncommon when existing APIs are ported to Haskell. -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik

Re: Garbage Collection in GreenCard/RedCard/HaskellCOM

1998-06-17 Thread Sven Panne
Admittedly, these are all things having very little to do with the merry world of the lambda calculus, they are of crucial importance if Haskell should be accepted as a non-toy language. -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik

Layout rule confusion

1998-07-31 Thread Sven Panne
some layout errors. Waiting for enlightment, Sven "Nitpick" Panne -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr.

Re: Note from (deputy) maintainer

1998-11-05 Thread Sven Panne
. Cheers, Sven P.S.: No, I'm not affiliated with Great Circle Associates! :-) -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen

Re: Stream of random comments continues

1998-12-04 Thread Sven Panne
) = splitStream (repeat 1) This gives you space usage linear in n... :-( Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr

Re: Monad question

1999-04-22 Thread Sven Panne
ntents "." The funny Pfail in the error message stems from the fact that hbc typechecks a desugared version of the source program, which can be confusing. Hope that helps, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik

Portability dreams

1999-05-27 Thread Sven Panne
and then pipes things through cpp. This kind of interaction should be specified in the report, too. (BTW: When using dove tails in the first line of literate scripts, Hugs fails with a "Program line next to comment". I stumbled over this when trying a different version

Re: Portability dreams

1999-05-28 Thread Sven Panne
hcmake MyMain2.hs', ... should be possible, too. I'd really love to have this for teaching. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen

Re: Portability dreams

1999-05-28 Thread Sven Panne
directives. [...] Hmmm, defining symbols is obfuscating...? \end{sarcasm} Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oe

Re: how to write a simple cat

1999-06-01 Thread Sven Panne
lenlim = readFile fn = lines .| filter (length .| (lenlim)) .| unlines .| putStr Whether this is more or less readable than Hannah's version is largely a matter of personal taste. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer

Re: how to write a simple cat

1999-06-01 Thread Sven Panne
..] .| map (\(n,l) - shows n ") " ++ l) .| unlines .| putStr [ This mail is optimised for 1280x1024 in landscape mode... ] Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/217

Re: Portability dreams

1999-05-28 Thread Sven Panne
ommon case simple". As an additional tool it could be nice. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr.

Re: how to write a simple cat

1999-06-02 Thread Sven Panne
if I had written the more general (.|) :: Functor f = f a - (a - b) - f b (.|) = flip fmap instead...:-} Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier

Re: Random Access Files in Haskell

1999-07-08 Thread Sven Panne
.: The only response was from Ferguson, pointing out possible problems with CR/LF vs LF, but I take Java's point of view: "A newline is a newline is a newline." -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +

Re: Random Access Files in Haskell

1999-07-09 Thread Sven Panne
struct the original name. Patent pending... "Everything counts in large amounts" (Depeche Mode) :-) Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und M

Importing, hiding, and exporting

1999-07-23 Thread Sven Panne
while Hugs is completely happy with this. Can somebody elaborate on this? Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oe

Re: Importing, hiding, and exporting

1999-07-26 Thread Sven Panne
the name of MakeDing is changed to Ding, too? Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL

Re: Importing, hiding, and exporting

1999-07-26 Thread Sven Panne
different namespaces together in the hiding clause? Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto

Re: Haskell Parser in Hugs

1999-07-27 Thread Sven Panne
the module system. Any *easy* suggestions for this? Perhaps if I have some spare time... (Hmmm, not very probable at the moment, the weather in Munich is too nice... :-) But I wouldn't mind if somebody else volunteered. Cheers, Sven -- Sven PanneTel.: +

Re: Haskell 98

1999-07-28 Thread Sven Panne
is a non-issue here. Lseek's manual pages tell me something about a *byte* offset, not a *character* offset. Related points would be: What does hGetChar exactly mean in the presence of Unicode/UTF-8/... and random access? Cheers, Sven -- Sven PanneTel.:

Re: Licenses and Libraries

1999-08-24 Thread Sven Panne
into .idl files, which of the dozens of ihc's command line options you need for this simple interfacing to C, etc. Without this, I guess, most *nix people will stick to Green Card and/or the FFI. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Ins

Re: Haskell HTTP lib?

1999-08-27 Thread Sven Panne
/glasgow-haskell-bugs/msg01147.html Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL PROTECTED

Re: Haskell HTTP lib?

1999-08-27 Thread Sven Panne
in academia you earn *nothing* for implementing hSeek and friends, but on the other hand, it shouldn't be *that* hard and time-consuming... Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/

ANN: The Haskell Wish List

1999-09-07 Thread Sven Panne
the Haskell community, so head over to the above URL and see how *you* can contribute and improve the Haskell-experience! :-) Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178

Re: advice wanted on GUI design patterns

1999-09-28 Thread Sven Panne
This shows the following: * You can use Haskell like C. :-} * It is explicit which state is shared between the event handlers. * For larger programs this box fiddling should better be hidden in some GUI abstraction (URLs have already

Re: Announcing Hugs 98

1999-06-02 Thread Sven Panne
-- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL PROTECTED]D-80538 Muenchen http

Repositioning Handles

1999-06-16 Thread Sven Panne
tions, see e.g. http://www.wotsit.org/. Merging a file position with a handle is even worse, because this keeps the file open even when only the position is needed later. Opinions? Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Inst

Re: record lables overloading

1999-11-17 Thread Sven Panne
Sven Panne wrote: Tom Pledger wrote: How about using qualified imports of modules? [...] module Test where import qualified QL1 import QL2 [...] You don't even have to use a qualified import for QL1, prefixing the ambiguous occurrences of up/low is enough [...] Just

Deprecated features

2000-01-24 Thread Sven Panne
-- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL PROTECTED]D-80538 Muenchen http://www.informatik.uni

Re: HOpenGL

2000-02-13 Thread Sven Panne
... Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL PROTECTED]D-80538 Muenchen http

Re: Wanted: mmap or other fast IO

2000-02-16 Thread Sven Panne
is not using -O for modules using FFI or readXXXOffAddr. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto

Additions to the FFI API

2000-03-27 Thread Sven Panne
c ones? byteOrder :: ByteOrder Comments/suggestions/flames? Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingens

Re: Additions to the FFI API

2000-03-27 Thread Sven Panne
is needed or not. But I agree that this could go into module BinaryIO (discussed in a more or less private thread). Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Progra

Re: Additions to the FFI API

2000-03-27 Thread Sven Panne
t) :-) Apart from that, I'll have a look at the "real" ADA stuff. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen

Re: Additions to the FFI API

2000-03-28 Thread Sven Panne
e a) StablePtr (a, MyOwnModule.Maybe b) ... This is certainly doable, but is this really worth the trouble? I'm not sure and would definitely like to hear some opinions on this topic. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Inst

Re: Additions to the FFI API

2000-03-28 Thread Sven Panne
story, we are discussing Haskell's primitive FFI and a lib for handwritten (and automatically generated) bindings, not H/Direct. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE P

Re: Additions to the FFI API

2000-03-28 Thread Sven Panne
C.Pointers is similar to module FFI. So what remains is basically the first item. Could somebody make a detailed proposal how the FFI should handle this character/string stuff? Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer

Re: No more additions to the FFI API...

2000-03-29 Thread Sven Panne
reluctant to write the word "subs...be" here, because I have seen versions of Majormdomo which tried to interpret commands in *every* mail). Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89

Re: multilingual programs

2000-03-29 Thread Sven Panne
unsafePerformIO-plus-noInline-trickery at the top level. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mai

Re: updating file

2000-04-27 Thread Sven Panne
0 = return txt | otherwise = error "never happens" And using hGetBuf{,BA}Full from GHC's upcoming IOExts module would be a completely different way. -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik

Re: Show class on ADT with function

2000-05-05 Thread Sven Panne
instance Show (a - b) where showsPrec _ _ = showString "function" or add `import ShowFunctions' (in the upcoming GHC 4.07's package lang). Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik

Re: Showing tuples

2000-05-09 Thread Sven Panne
Mike Jones wrote: Yes, I do derive Show for MyData. I was surprised it did not work. Deriving works, but GHC currently only contains instance declarations for tuples up to 5 elements, so you have to write you own boring instances for larger ones. *yawn* Cheers, Sven -- Sven Panne

Re: type synonyms and monads

2000-05-12 Thread Sven Panne
-free definitions, but from time to time (e.g. in this example) it's IMHO much easier to see what's going on *with* explicit variables and the (un-)wrapping. Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik

Two floating point questions

2000-06-12 Thread Sven Panne
Is the following behaviour of GHC allowed by the H98 report? -- Foo.hs main :: IO () main = print (0.1234567891234567891 :: Float, 0.1234567891234567891 :: Double) -- panne@jeanluc:~ ghc

Library conventions

2000-06-22 Thread Sven Panne
After some discussions in the GHC developer mailing lists a small bunch of conventions around library design emerged. Currently things mainly concentrate on naming issues (everybody's delight :-), but it is only meant as a starting point:

Re: Library conventions

2000-06-23 Thread Sven Panne
I *knew* people couldn't resist talking about names! :-) OK, I've invited you to do this, but more than a dozen mails solely about the first item of section 1.1.1 were a little bit surprising... To be more serious: Perhaps I wasn't clear enough about the purpose of these conventions. What

Re: Library conventions

2000-06-24 Thread Sven Panne
Marcin 'Qrczak' Kowalczyk wrote: stToIO looks better for me. What about declaring that lowercasing the first letter of an abbreviation consisting of only capital letters is realized by lowercasing the whole word? [...] OK, this makes sense and the rule is not much more complicated. e.g.

Re: Precision problem

2000-07-17 Thread Sven Panne
[ Redirected to Haskell list ] Michael Marte wrote: When adding the three double numbers 0.7, 0.2, and 0.1, a ghc 4.07-compiled program (compilation flag -O) yields 0.. Whatever this string stands for, [...] The closest thing the addition of those numbers can give you with

Re: Precision problem

2000-07-18 Thread Sven Panne
Hmmm, I've never thought that two simple additions would lead to such a riot... :-) First of all: Even after re-reading the report I can't see that IEEE arithmetic is *required* by it. The representation of floating point values is explicitly stated as "implementation-defined", only the range

ANNOUNCE: HOpenGL 1.00 released

2000-08-13 Thread Sven Panne
included. Have fun! Sven -- Sven Panne mailto:Sven.Panne@{informatik.uni-muenchen,BetaResearch}.de http://www.informatik.uni-muenchen.de/~Sven.Panne

Re: Extending the do-notation

2001-01-07 Thread Sven Panne
Sebastien Carlier wrote: I'm constantly amazed by the number of tricks one has to know before he can write concise code using the do-notation [...] In my experience it is not the do-notation itself, but the mixture of monadic actions and higher-order functions. But after a while youll really

Re: Movement in a frictionless environment

2001-01-07 Thread Sven Panne
"R.Daniel" wrote: Hi, could anyone tell me where to find some info about generating movement on a frictionless environment? [...] I'd recommend one of the game programming sites, they have tons of useful stuff related to physics, too: http://www.devgames.com/ http://www.gdmag.com/

Re: hbc

2001-06-21 Thread Sven Panne
Patrik Jansson wrote: [...] One notable feature in hbc still missing in ghc is Unicode support (hbc has supported Unicode from early on). I hope ghc will follow up the recent change to Unicode-sized Chars with some library support soon. [...] *ahem* Just to get rumours correct: Starting from

ANNOUNCE: HOpenGL mailing list

2001-10-22 Thread Sven Panne
troubles, collaboration with the Gtk+HS binding, announcements, etc. Cheers, Sven -- Sven PanneFon: +49/89/99567000Fax: +49/89/99567461 BetaResearch GmbH,Betastr. 1,D-85774 Unterfoehring mailto:[EMAIL PROTECTED]http://www.betaresearch.de

ANNOUNCE: HOpenGL 1.01 released

2001-11-17 Thread Sven Panne
HOpenGL, a Haskell binding for OpenGL and GLUT version 1.01 I am pleased to announce the twelfth release of the Haskell binding for GL 1.2.1 / GLU 1.3 / GLUT 3.7beta. It offers easy access to *the* industrial strength 3D graphics API and a GUI toolkit. More

Re: Storable Class

2002-01-04 Thread Sven Panne
Carolina Mattos Cavalcanti wrote: I´m Carol, and I´m just need some help to find the predefined types from the storable class. [...] The following types are instances of Storable: Bool, Char, Int, Word, Ptr a, FunPtr a, StablePtr a, Float, Double, Word8, Word 16, Word32, Word64,

Re: MIME-RPC as an FFI (was Re: Storable Class)

2002-01-04 Thread Sven Panne
S. Alexander Jacobson wrote: [...] It seems to focus on local interfaces rather than on interfaces that will also work accross network connections. A modern FFI interface should offer both transparent object serialization (like Java, but readable) and interfaces that work between

Re: type aliases in instances

2002-03-11 Thread Sven Panne
Bernhard Reus wrote: Richard Uhtenwoldt wrote: [...] GHC's source code defines many monads not in class Monad. I'll write some untested code to give an idea of the naming conventions used: type FooMd out = (a,b,c)-((a,b,c),out) returnFooMd out = \s0-out thenFooMd p k = \s0-let (s,out) = p s0

Lexing character literals in H98

2002-04-14 Thread Sven Panne
Yet another H98 question, this time regarding the module Char: Is it a deliberate design decision that readLitChar handles decimal, octal, and hex escapes, but lexLitChar handles only decimal ones? It looks more like an oversight to me... Another question is if the uppercase variants '\O...' and

ANNOUNCE: HOpenGL 1.02 released

2002-04-21 Thread Sven Panne
HOpenGL, a Haskell binding for OpenGL and GLUT version 1.02 I am pleased to announce the thirteenth release of the Haskell binding for GL 1.2.1 / GLU 1.3 / GLUT 3.7beta. It offers easy access to *the* industrial strength 3D graphics API and a GUI

ANNOUNCE: HOpenGL 1.03 released

2002-07-30 Thread Sven Panne
HOpenGL, a Haskell binding for OpenGL and GLUT version 1.03 I am pleased to announce the fourteenth release of the Haskell binding for GL 1.2.1 / GLU 1.3 / GLUT 3.7beta. It offers easy access to *the* industrial strength 3D graphics API and a GUI

Re: Evaluation Question

2003-01-14 Thread Sven Panne
Simon Marlow wrote: The original version should also evaluate the expression 'cis wn' only once: [...] Nice theory, but GHC's interpreter and compiler behave differently: -- Main.hs --- module Main where import Data.Complex ( Complex )

ANNOUNCE: HOpenGL 1.04 released

2003-01-21 Thread Sven Panne
HOpenGL, a Haskell binding for OpenGL and GLUT version 1.04 I am pleased to announce the fifteenth release of the Haskell binding for GL 1.2.1 / GLU 1.3 / GLUT 3.7beta. It offers easy access to *the* industrial strength 3D graphics API and a GUI

Re: haskell-mode and xemacs

2003-07-03 Thread Sven Panne
Christian Maeder wrote: whenenver I open a haskell file (*.hs) with my xemacs I get an annoying warning in a splitted window: (1) (error/warning) Error in `post-command-hook' (setting hook to nil): (void-variable imenu--index-alist) [...] Try adding (require 'imenu) to your

Re: Proposal for a new I/O library design

2003-07-28 Thread Sven Panne
Tim Sweeney wrote: I live in a different universe, but over here I prefer to represent files purely as memory-mapped objects. [...] I'd prefer official support for this in Haskell, too. The need for this and other I/O-related stuff was recognized by the Java community, too: It resulted in the

Re: Proposal for a new I/O library design

2003-07-28 Thread Sven Panne
Tomasz Zielonka wrote: You certainly can't always mmap the whole file into memory at once (on a 32-bit architecture at least), because: [...] I think all these issues are handled by java.nio.Buffer and friends. Are there any people on this list with real-world war stories about java.nio? So far I

Re: Use of H98 FFI

2003-08-01 Thread Sven Panne
Peter Thiemann wrote: md5 :: String - String Hmmm, this should probably be: md5 :: [Word8] - [Word8] unless you really want the MD5 of the Unicode characters... Cheers, S. ___ Haskell mailing list [EMAIL PROTECTED]

ANNOUNCE: HOpenGL 1.05 released

2003-09-09 Thread Sven Panne
HOpenGL, a Haskell binding for OpenGL and GLUT version 1.05 I am pleased to announce the sixteenth release of the Haskell binding for GL 1.2.1 / GLU 1.3 / GLUT 3.7beta. It offers easy access to *the* industrial strength 3D graphics API and a GUI toolkit.

Re: Announce: wxHaskell 0.2

2003-09-16 Thread Sven Panne
I just had a look at wxHaskell (GHC from CVS, about a week old, SuSE Linux 8.2 on x86). A few remarks: * It would be nice if the directory created by unzipping wxhaskell-src-0.2.zip contained a version number. * It would be even nicer if wxhaskell-doc-0.2.zip unzipped into a *single*

Re: class ??? with Haddock

2003-12-31 Thread Sven Panne
Wolfgang Jeltsch wrote: I have a datatype Relation element1 element2 which derives an Eq instance. In the Haddock-generated documentation the instances section of Relation says (Ord element1, Ord element2, ??? element1 element2) = [...]. Why does Haddock generate this mysterious ???

Re: long lines of code with Haddock

2003-12-31 Thread Sven Panne
Wolfgang Jeltsch wrote: [...] How can I make Haddock split these lines and maybe even indenting lines to produce a nice layout? The documentation of the hierarchical libraries seems to use an automatic line breaking feature. There have been some small changes after Haddock 0.6 was released,

Re: class ??? with Haddock

2004-01-02 Thread Sven Panne
Wolfgang Jeltsch wrote: does Hugs understand C preprocessor macros? If not, your approach would be bad for me since I try to stay Hugs-compatible. Well, Hugs itself doesn't understand CPP macros (neither does GHC), but you can use Hugs' -Fcmd flag to pipe the source files through cmd before Hugs

Re: Haddock and module properties

2004-01-02 Thread Sven Panne
Wolfgang Jeltsch wrote: [...] I'm looking for a documentation about these things. AFAIK there is no real documentation for this, but Use the Source, Luke! (i.e. HaddockUtil.hs :-): The recognized labels are Module, Copyright, License, Maintainer, Stability, and Portability. This fits nicely with

Re: Getting lhs2tex working under Win32 (was Re: ANNOUNCE: lhs2tex-1.9)

2004-01-24 Thread Sven Panne
Antony Courtney wrote: [...]1. GHC does not use Cygwin, and produces executables that do not use the Cygwin library or understand Cygwin-style file paths. [...] Just a note: Problems like this is exactly the reason why GHC's and Hugs' configuration scripts contain monstrosities like: #

Re: GHC 'hslibs/win32/Win32Spawn.hs' syntax error?

2004-01-24 Thread Sven Panne
Graham Klyne wrote: I think module 'hslibs/win32/Win32Spawn.hs' as shipped with GHC has a syntax error [...] In ancient times, the calling convention was optional and the Win32 stuff hasn't been touched for a looong time... Cheers, S. ___ Haskell

Re: [Haskell] hugs-package under Cygwin

2004-01-30 Thread Sven Panne
Graham Klyne wrote: [...] /cygdrive/j/exchange/GK/hugs98-20040109 contains the Hugs source kit, and /cygdrive/c/DEV/Hugs98 is my Hugs install directory. [[ [EMAIL PROTECTED] /cygdrive/j/exchange/GK/hugs98-20040109/src/unix $ ./hugs-package.in /cygdrive/c/DEV/Haskell/lib/HaXml-1.10/src

Re: [Haskell] hugs-package under Cygwin

2004-01-30 Thread Sven Panne
Graham Klyne wrote: [...] Is there a version of this script anywhere that can be run under Windows (with or without Cygwin)? Alas, no, you need Cygwin. MinGW/MSYS might work, too. Cheers, S. ___ Haskell mailing list [EMAIL PROTECTED]

Re: [Haskell] Re: Data.Set whishes

2004-02-20 Thread Sven Panne
Koen Claessen wrote: [...] Why is the naming scheme standard, described at: http://www.haskell.org/hierarchical-modules/libraries/library-design.html still using Haskell 1.2 naming schemes? Do people simply not like qualified names? I think the reason is simply that SimonM copied the relevant

Re: [Haskell] reasons for non-portability

2004-03-21 Thread Sven Panne
Wolfgang Jeltsch wrote: [...] My question is, if a module is considered non-portable only if it contains non-portable constructs itself, or if a module is also non-portable if it just imports a module which is non-portable. Both, otherwise stating the property portable wouldn't help very much.

Re: [Haskell] Re: sizeFM type

2004-04-26 Thread Sven Panne
Robert Will wrote: I understand the Int type to be as large as pointers on each kind of hardware. [...] ... excluding unimportant architectures like DEC Alpha (at least with one of DEC's early C compilers), x86 in real mode, tons of embedded processors in hundreds of millions of mobile phones,

Re: [Haskell] threading mutable state through callbacks

2004-10-08 Thread Sven Panne
Jules Bean wrote: [...] Unfortunately, it's not going to work. It's not going to work because some of the procedures take callbacks, and the callbacks are values of type IO (). I can see two solutions to this: a) revert to using an IORef [...] b) write the callbacks as values of type StateT Env

Re: [Haskell] Re: ANNOUNCE: GHC version 6.2.2

2004-10-20 Thread Sven Panne
Tom Davie wrote: The darwin ports version appears not to be too happy just now... [...] /var/tmp//ccjMNPay.s: No space left on device [...] It looks like it's your disk which isn't too happy... :-) Cheers, S. ___ Haskell mailing list [EMAIL PROTECTED]

[Haskell] Snapshots of Haskell software

2004-10-25 Thread Sven Panne
Due to popular demand, I've uploaded binary snapshots of Alex, Haddock, Happy and Hugs for Win32 and x86 Linux to http://aedion.de/haskell/ The corresponding sources are available there, too. Feedback is, as always, appreciated... Have fun, S. ___

[Haskell] Snapshots of Haskell software (update)

2005-02-20 Thread Sven Panne
I've uploaded fresh bleeding edge binary snapshots of Alex, Haddock and Happy for Win32 and x86 Linux to http://aedion.de/haskell/ The corresponding sources are available there, too. Hugs currently has a few build problems, but a new snapshot of it will be available there as well soon. Feedback

Re: [Haskell] Encode module library

2005-02-27 Thread Sven Panne
Otakar Smrz wrote: [...] I would be happy for your comments and suggestions. There were some extensive discussions about encoding/decoding on the libraries mailing list some time ago, but IIRC no real consensus was reached. Among the problems were * The interface to the encoded/decoded data:

Re: [Haskell] Haskell on QNX?

2005-03-24 Thread Sven Panne
Liwen Huang wrote: I have successfully installed Hugs on QNX machine. As far as I can remember, you only need to make a few changes in the Makefile, (change gcc to qcc and change to proper qcc flags). It would be very helpful if you could mail the required changes. This way we could tweak the

Re: [Haskell] HaskellForge

2005-05-21 Thread Sven Panne
Lemmih wrote: I'm currently working on Hackage[1] plus its integration with Cabal, and extending it to include SourceForge-like features would definitely be desirable. It is, however, a one-man project so don't hold your breath. I had a look at RubyForge, and it looks very much like a modified

Re: [Haskell] HaskellForge

2005-05-21 Thread Sven Panne
Lemmih wrote: On 5/21/05, Sven Panne [EMAIL PROTECTED] wrote: I had a look at RubyForge, and it looks very much like a modified GForge (http://gforge.org/). Might this be an option for HaskellForge, too? Someone would have to hack support for Darcs and HaskellDB in PHP and that someone

Re: [Haskell] HaskellForge

2005-05-26 Thread Sven Panne
Samuel Bronson wrote: The thing is, Haskell people tend to want to use Darcs for their Haskell stuff, and I don't think there are sites like sourceforge supporting it yet... So my question is (probably once again): Why can 100.000 projects live with SF and not the Haskell community? Although

Re: [Haskell] why don't we have const Ptrs?

2005-11-03 Thread Sven Panne
Am Mittwoch, 2. November 2005 15:02 schrieb David Roundy: [...] Why is it that in C++ I can write void strcpy(char *dest, const char *src); but in Haskell I must import this function as foreign import ccall unsafe static string.h strcpy strcpy :: Ptr CChar - Ptr CChar - IO ()

Re: [Haskell] Making Haskell more open

2005-11-13 Thread Sven Panne
Am Freitag, 11. November 2005 15:51 schrieb Simon Marlow: [...] We already use DocBook XML, and I'm relatively pleased with it, except for the fact that it's far from easy to set up a working DocBook toolchain on your system unless your OS of choice is up to date and has a well-maintained set

Re: [Haskell] ANNOUNCE: Frag: a First Person Shooting game

2005-11-22 Thread Sven Panne
Am Dienstag, 22. November 2005 15:36 schrieb Sebastian Sylvan: This is really cool. Yes, I am really impressed, too! Finally Haskell enters the world we the real big bucks are made, e.g. Electronic Arts alone made a $3.1 billion annual revenue last year. :-) I too would like to read a

Re: [Haskell] ANNOUNCE: Frag: a First Person Shooting game

2005-11-26 Thread Sven Panne
Am Donnerstag, 24. November 2005 03:06 schrieb Jens Petersen: [...] loaded textures/egyptians/leaf.tga loaded textures/egyptians/gold_trim02.tga missing texture: models/mapobjects/Skull/skull.tga missing texture: textures/common/trigger.tga loaded textures/egyptians/oldstone_ramses.tga

Re: [Haskell] Re: ANNOUNCE: Frag: a First Person Shooting game

2005-11-27 Thread Sven Panne
Am Sonntag, 27. November 2005 16:17 schrieb Daniel Xrstadius: [...] I am using ghc 6.2.2. I have tried adding -package GLUT to the command line, but still the same output. The problem comes from an API change in the OpenGL package about 2 years ago. Upgrading to a GHC 6.4.x should help.

Re: [Haskell] Making Haskell more open

2005-12-28 Thread Sven Panne
Am Donnerstag, 22. Dezember 2005 21:51 schrieb Bulat Ziganshin: may be it will be better to use trac for all other things except for wiki? we already one wiki system, imho dividing wiki pages between two systems is not convenient I totally agree with Bulat here: The current state with 2 Wikis

Re: [Haskell] GLUT gears speed

2006-02-18 Thread Sven Panne
[ Sorry for the extremely slow reply, I'm just working through a mail backlog of about one month... ] Am Freitag, 6. Januar 2006 22:17 schrieb Wolfgang Jeltsch: what's the reason behind the HOpenGL gears only being about 2/3 as fast as glxgears on my computer? Since I don't use any 3D

Re: [Haskell] GLUT gears speed

2006-02-18 Thread Sven Panne
Am Montag, 16. Januar 2006 21:52 schrieb Wolfgang Jeltsch: Am Montag, 16. Januar 2006 15:16 schrieb Sebastian Sylvan: or (better) vertex buffer objects. What's this? The basic idea behind buffer objects is a general mechanism which allows the driver to keep huge amounts of data on the

[Haskell] Re: Compile error in GHC HEAD revision - nobody responding to bug report

2006-03-19 Thread Sven Panne
Am Dienstag, 14. März 2006 11:39 schrieb Simon Marlow: Asfand Yar Qazi wrote: I filed a bug report for a compile error in the latest GHC build, but nobody has responded to it for 4 days. I might as well try to fix it myself, but I'm just a functional programming and Haskell beginner.

  1   2   3   4   5   6   >