for 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
, 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 get an compile-time error.
Mitar
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
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
Hi!
On Thu, Nov 25, 2010 at 1:05 PM, Simon Marlow marlo...@gmail.com 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
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
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
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
___
Glasgow-haskell-users
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 list
Glasgow-haskell-users@haskell.org
http
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
not be masked with maskUninterruptibleExcept function
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
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
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.)
Mitar
Test.hs
Description: Binary data
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users
. 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
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.haskell.org/mailman/listinfo
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/glasgow
(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. But
I would like to cover all combinations and tell with arguments which
combination I want.
Mitar
Hi!
On Fri, Nov 5, 2010 at 12:50 PM, Alexey Khudyakov
alexey.sklad...@gmail.com wrote:
I'm not sure what do you exactly want. But what about applicative functors?
They offer nice notation
Nerve $ (Axon $ newChan) * (AxonAny $ newChan)
Ooo. That is nice.
Mitar
used in haskell 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
() -- 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/listinfo
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-haskell-users@haskell.org
http
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 for it for some local definition, GHC
should make a shadowing a variable warning.
Mitar
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
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
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
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@haskell.org
http
is using internally?
Mitar
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
27 matches
Mail list logo