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
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
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
/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
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
]
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
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
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
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
-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
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
* 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
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
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
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
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
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
'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
)
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
} {- 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
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
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
22 matches
Mail list logo