Re: FFI Bindings to Libraries using GMP

2007-09-11 Thread Matthias Neubauer
fusion to improve on that. -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052

Re: [Haskell-cafe] idea for avoiding temporaries

2007-03-08 Thread Matthias Neubauer
to write imperative code anyways: can't you simply use a specialized state monad with the array(s) hidden inside the monad as monad state? -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges

Re: [Haskell-cafe] idea for avoiding temporaries

2007-03-08 Thread Matthias Neubauer
mean. -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052 ___ Haskell-Cafe

Re: How to debug a segfault.

2007-02-28 Thread Matthias Neubauer
/DebuggingGhcCrashes Nice! How complicated would it be to teach gdb about GHC's calling convention, stack format, etc. Anyone who knows? -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler

Re: Here-docs in Haskell source

2006-09-26 Thread Matthias Neubauer
John Meacham [EMAIL PROTECTED] writes: I would also like to see these. I like the python syntax stuff... but really most anything will do. And if we want to embed python code? -Matthias ___ Haskell-prime mailing list

Re: [Haskell-cafe] Re: Shootout summary

2006-01-07 Thread Matthias Neubauer
] perm' n = foldr (takeIter n (rotate n)) [] takeIter :: Int - (a - a) - a - [a] - [a] takeIter 0 f x rest = rest takeIter n f x rest = x : takeIter (n-1) f (f x) rest gains us another 5% or so. -Matthias -- Matthias Neubauer | Universität Freiburg

Re: Optimizations for mutable structures?

2005-12-07 Thread Matthias Neubauer
at Hans Boehm's page for more details on that ... http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/ -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br

Re: [Haskell-cafe] Shortening if-then-else

2005-11-22 Thread Matthias Neubauer
then Just seat_num else Nothing return $ guard (cmdType cmd /= CmdSitError Serv) return seat_num -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany

Re: [Haskell-cafe] Shortening if-then-else

2005-11-22 Thread Matthias Neubauer
is of type () ... :-) -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052

Re: [Haskell-cafe] Shortening if-then-else

2005-11-22 Thread Matthias Neubauer
-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052

Re: [Haskell] Re: Haskell users survey--please respond!

2005-11-10 Thread Matthias Neubauer
to the list, so it gets added twice, but that I can fix up when I analyse the results. Have you considered using the WASH.CGI.Persistent2 module for that? For simple server-side state, it usually works pretty well. (See e.g. Section 7 of Peter's ETAPS tutorial.) -Matthias -- Matthias Neubauer

Re: comments on the GHC API

2005-03-22 Thread Matthias Neubauer
* to cumulate the initial type environment and the initial class environment for our analysis. Or do you see another/better way of doing that? -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges

comments on the GHC API

2005-03-17 Thread Matthias Neubauer
of exposing/specifying more of GHC's internals? Cheers, Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052

Re: [Haskell-cafe] YAWQ (Yet Another Wash Question)

2005-02-25 Thread Matthias Neubauer
outputCode submitCode nextPage h = do let i = validationCode h standardQuery Result Page $ table $ do tr $ td $ text Your input was ... tr $ td $ outputCode i tr $ td $ submitCode nextPage -- Matthias Neubauer | Universität Freiburg, Institut

Re: [Haskell-cafe] YAWQ (Yet Another Wash Question)

2005-02-25 Thread Matthias Neubauer
John Goerzen [EMAIL PROTECTED] writes: On Fri, Feb 25, 2005 at 04:15:55PM +0100, Matthias Neubauer wrote: standardQuery Input Page $ table $ do do tr $ td $ text Hello! h - inputCode tr $ td $ text Press the button! tr $ td $ submitCode h nextPage I like

Re: current build blocks indefinitely

2005-02-23 Thread Matthias Neubauer
Simon Marlow [EMAIL PROTECTED] writes: On 21 February 2005 15:19, Matthias Neubauer wrote: Simon Marlow [EMAIL PROTECTED] writes: It looks from the log like you might be using -threaded. If you are, try turning it off. Not for the current build. But the installed ghc that I am using

Re: [Haskell-cafe] WASH defaults in inputFields

2005-02-23 Thread Matthias Neubauer
clarify how to do it ... ... % iName - inputField (fieldSIZE 40 ## fieldMAXLENGTH 40 ## fieldVALUE name ## attr class name) % ... -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges

Re: current build blocks indefinitely

2005-02-21 Thread Matthias Neubauer
'BuildPackageGHC=YES' ...) It looks from the log like you might be using -threaded. If you are, try turning it off. Not for the current build. But the installed ghc that I am using is a GHC version 6.0.1 built with --enable-threaded-rts'!?! -Matthias -- Matthias Neubauer

current build blocks indefinitely

2005-02-18 Thread Matthias Neubauer
) Anybody seen this before? -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052

Browsing a module with exports only broken

2004-07-27 Thread Matthias Neubauer
} {- r14o -} With: -- Bug.hs module Bug (Foo) where data Foo = Foo Int -Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052

Re: Type classes problem: Could not deduce ...

2003-03-10 Thread Matthias Neubauer
a = ClassB b a | b - a where toA :: b - a Cheers, Matthias [1] Mark P Jones, Type Classes with Functional Dependencies, ESOP 2000 -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee 79

Re: openFile and threads

2003-01-13 Thread Matthias Neubauer
representation. I knew that Haskell strings are bad, but I really did not expect them to cause such a huge time penalty ... Cheers, Matthias -- Matthias Neubauer | Universität Freiburg, Institut für Informatik | tel +49 761 203 8060 Georges-Köhler-Allee