g 6.12.3 on Linux x86_64.
Best regards
Mitar
Test.hs
Description: Binary data
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
regards
Mitar
Test.hs
Description: Binary data
Test2.hs
Description: Binary data
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
t affects the Haskell
> world.
Hm, write a patch for mysql libs then and send it upstream?
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
hard either. Has anyone else been
> bitten by this?
It would be great if it would be added. Obviously I am for it. ;-)
I think n should be scoped for the whole the class definition,
everywhere, not just parameter and return values types. If somebody
would define the same name f
ng some basic understanding.
> But it'd be worth reading
> http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/other-type-extensions.html#scoped-type-variables
I had. Thanks.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskel
t; return () -- No pattern match(es) are non-exhaustive, BAD
I think it would be quite useful to also catch such situations and
issue a warning.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman
t move that into the function?
I am using GHC 6.12.3. Is this something which will work in 7.0?
Mitar
Test.hs
Description: Binary data
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/g
ot;Nerve (Axon a) (AxonAny b)" as a
result. If I would call it like "create (AxonAny undefined) (AxonAny
undefined)" I would get "Nerve (AxonAny a) (AxonAny b)" as a result.
And so on.
So I know I can move some hard-coded combination into a function.
Hi!
On Fri, Nov 5, 2010 at 12:50 PM, Alexey Khudyakov
wrote:
> I'm not sure what do you exactly want. But what about applicative functors?
> They offer nice notation
>
>> Nerve <$> (Axon <$> newChan) <*> (AxonAny &l
skell printf implementation afaik
While reading the source code I found that in loadstring you do not
make sure that free is called even in a case of an exception. Is this
not necessary?
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users
posed of? Because it can be reused by some
other computation? But then my exceptions could be delivered to wrong
(new) thread while they were meant for old one?
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www
.
> It would help if you could show us your code (or parts of it).
I hope the code above should satisfy. If not I will make some real example.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
; it outputs:
Test.hs: MyTerminateException
MVar was successfully taken
With "throwIO ThreadKilled" is as expected, just:
MVar was successfully taken
So MVar is filled. What means that thread gets exception after that.
But there is nothing after that. ;-) (At least nothing visible.)
Mi
tter than my "hanging threads at the end". And with my throwIO
approach I just override MyTerminateException with ThreadKilled.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
d with maskUninterruptibleExcept function
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
u want it to warn you when you add additional
constructor do Foo data type.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
nice solution.
But this is a form of closed world assumption. When you write _ as a
case you in fact use this assumption. But when you later on extend the
"world" with some new case, this assumption could not really hold
anymore.
Mitar
_
why I argue for some way of being able to
specify which interrupts you still allow: like mask everything
except... (user interrupts, my special exception meant for cleanup
code hanging conditions...).
Mitar
___
Glasgow-haskell-users mailing li
already have a consumer and
then duplicating it if another (and every additional) consumer would
be added. But without Eq it is not possible to check if there is Chan
already in a list (and I hope Eq would compare just Chan and not its
content).
Is there some other way to achieve this?
Mitar
Hi!
On Thu, Nov 25, 2010 at 1:05 PM, Simon Marlow wrote:
> It's just an oversight. Send us a patch, or make a ticket for it?
Done:
http://hackage.haskell.org/trac/ghc/ticket/4526
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haske
and send a proposal to the libraries list.
I just have. I attached your patch to the ticket. Thanks.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ly in my cleanup code I
do not really care about new exceptions being ignored.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
sk_ $ a `catches` [
Handler (\(e :: AsyncException) -> case e of UserInterrupt ->
throw e ; _ -> uninterruptible a),
Handler (\(_ :: SomeException) -> uninterruptible a)
]
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
readId values are passed around, as
capability tokens for throwing an exception) and inform/warn you about
which exceptions can be thrown in which code segments. And you could
specify which exceptions you predict/allow and if there would be a
mismatch you would
this? Is there a way to get
MVar internal references somehow (so that what sameMVar# is using)?
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
nd in my case, I would like to make a
stand-alone Haskell program. So if it is similar to that bug then
maybe it is a bug in Linux kernel.
So please help me solve this problem.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@has
RTS
is using internally?
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
t to 404 errors nowadays while trying to access documentation.
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
28 matches
Mail list logo