ch doesn't obfuscate your code? I use
> >($) way more often than (.). Some people do use it more often than I
>
> I found it useful to use (mainly for debugging purposes)
>
> mapM (putStrLn . show)
>
> if I want to print its elements each on a new line.
>
t;}" -> return []
"," | started -> setNext
_ -> pfail
setNext =
do x <- reset readx
xs <- setRest True
return (x:xs)
--
Georg Martius, Tel: (+49 34297) 89434
---
w the type yet. Therefore we put
everything in Unparsed field. Later on one can use a Parser on that
explicitly. It would also make the roundtrip XML->Haskell ->XML more stable.
Cheers,
Georg
--
Georg Martius, Tel: (+49 34297) 89434
--- http://ww
list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
--
Georg Martius, Tel: (+49 34297) 89434
--- http://www.flexman.homeip.net -
configure_0.8_ghc6.4.diff
Description: Binary data
configure_0.9_ghc6.4.diff
Description: Binary data
makefile.lib_0.8
`f` (fmToList fm)
toConstr _= fmConstr
fromConstr c = case conIndex c
of 1 -> emptyFM
dataTypeOf _ = fmDataType
--
Georg Martius, Tel: (+49 34297) 89434
--- http://www.flexman.homeip.net -
___
do let x = evaluateArrow $ MyAdd1A 1
print x
Please enlighten me!
Georg
[1]
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control.Arrow.html#2
[2] http://haskell.org/hawiki/UnderstandingArrows
[3] http://www.haskell.org/arrows/
--
Georg Martius, Tel: (+49 34297
On Fri, 26 Nov 2004 16:38:26 -0500, Stefan Monnier <[EMAIL PROTECTED]> wrote:
thanks for you work! The indentation works much better than
before. However, I have some feature requests/bugs:
- indentation in do monad: lines after "let" should have 2 possible
indentations. One for new let bindings
ng
with things like \(x,y) should work correctly now.
* New maintainer <[EMAIL PROTECTED]>.
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
--
Georg Martius, Tel: (+49 34297) 89
(1, n)
return x
I need this but with types :: Integer -> Integer
Thanks
Escapadas, fines de semana, vacaciones, reservas. Organiza y contrata tus viajes
aquĆ.
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haske
ion as an infix:
Times2:: x = x Plus x
Times2:: x = x `Plus` x
Best regards!
Georg
--
---- Georg Martius, Tel: (+49 34297) 89434
--- http://www.flexman.homeip.net -
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
inside the iteration. Tricky lazyness!
I didn't look at the state stuff.
Well, without profiling and -G1 I get other results (see below), however they are
still bad.
Simon
| -Original Message-
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Georg Martius
| Sent: 21
Hi folks,
I have two questions to tail recursion, optimisation(ghc) and the State monad. Sorry
about bothering you with efficiency issues, but they become crusual to me since my
programm needs more memory than I have :-(
I compiled the following small examples with
ghc -O6 -Wall -prof -auto-all -
Hi folks,
I am just wondering why ghc writes its output to stderr instead of stdout. In case of
an error it might be reasonably but all the ordinary information about chaising and
stuff should go to a buffered stream I think.
Why do I care?
I start ghc from emacs in a compile window. The output g
actually
force it to. In case your condition (cond) doesn't force the evaluation of all
transformations you get large unevaluated stuff in you memory.
Is there a better way to implement (possibly infinite) loops in Haskell?
I' am curious as well!
Cheers,
Georg
--
Georg Martius, Te
On Tue, 15 Jun 2004 12:05:46 +0100, Graham Klyne <[EMAIL PROTECTED]> wrote:
At 11:30 15/06/04 +0200, Wolfgang Jeltsch wrote:
I'd say, classes in Haskell are similar to interfaces in Java.
I started my Haskell programming with that viewpoint, but got tripped up by it.
A Java interface can be used as
Hi,
just use the "<-" in the Monad like
... do
t <- f -- where f has the type IO(Something)
-- use t which is of type Something
...
return t -- makes an IO(Something)
Btw: This thread might fit better to the haskell-cafe list.
Georg
On Tue, 11 Nov 2003 00:37:54
16 matches
Mail list logo