Slavomir Kaslev ([EMAIL PROTECTED]) has invited you to check out radiusIM.com. Their username on radiusIM is hikercho. radiusIM is the Social Instant Messenger. Connect with people from all over the world and also IM your buddies on MSN, AIM/AOL/ICQ, Yahoo, and Google Talk
Sorry for the noise everyone. Next time I'll think twice before hiting
'Send to all my contacts' buton.
Cheers.
2008/10/26 Slavomir Kaslev [EMAIL PROTECTED]:
Slavomir Kaslev ([EMAIL PROTECTED]) has invited you to check out
radiusIM.com. Their username
.]
The problem is that freeParser, although useful, is far from elegant. It's
something that I came up with by trial and error. In short: it's a hack.
I would like to hear your suggestions about how it can be beautified.
Thank you in advance.
Cheers!
--
Slavomir Kaslev
On Mon, Oct 6, 2008 at 8:07 PM, Christian Maeder
[EMAIL PROTECTED] wrote:
Slavomir Kaslev wrote:
freeParser = freeParser' minBound
where enumAll' :: (Bounded a, Enum a) = a - [a]
enumAll' _ = enumAll
freeParser' :: (Enum a, Bounded a, Show a, Read a) = a - Parser
in advance.
Cheers.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
windows framework. Are there any projects going in this
direction?
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
. For vector
to vector, vector to matrix, etc. multiplication there is mul.
Cheers.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 11/29/06, Krasimir Angelov [EMAIL PROTECTED] wrote:
Hi Slavomir,
On 11/28/06, Slavomir Kaslev [EMAIL PROTECTED] wrote:
instance Num Float3 where
.
signum a | a == Float3 0 0 0 = 0
| otherwise = 1
signum has a natural generalization for vectors.
signum v
the
definitions of floatn and manually change their types to intn
respectfully.
Cheers.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
sense. What would you do, if you were writing this kind
of library?
Cheers.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 11/28/06, Slavomir Kaslev [EMAIL PROTECTED] wrote:
On 11/28/06, Bulat Ziganshin [EMAIL PROTECTED] wrote:
Hello Slavomir,
Tuesday, November 28, 2006, 3:46:13 PM, you wrote:
Last question: Does haskell have something like C++ templates? For
example, some time in the future I may need
On 11/28/06, Brian Hulley [EMAIL PROTECTED] wrote:
Slavomir Kaslev wrote:
I have to define a couple of float2, float3, float4 Cg, HLSL style
vectors in Haskell. At first I was tempted to make them instances of
Num, Floating, RealFrac, etc. but some of the functions defined in
those classes
certainly lack proper Haskell-ish terminology.
I apologize for that.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
as:
data Bar = Baz
Baz isn't visible outside Foo.
Is this the correct behavior or is it bug in ghc?
Cheers.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 11/4/06, Matthias Fischmann [EMAIL PROTECTED] wrote:
On Sat, Nov 04, 2006 at 09:39:39PM +0200, Slavomir Kaslev wrote:
To: haskell-cafe@haskell.org
From: Slavomir Kaslev [EMAIL PROTECTED]
Date: Sat, 4 Nov 2006 21:39:39 +0200
Subject: [Haskell-cafe] Module visibility of data type
,
Bulatmailto:[EMAIL PROTECTED]
Wow. Thank you for the comprehensive list. I feel almost obligated reading =-)
Cheers.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
-- Forwarded message --
From: Slavomir Kaslev [EMAIL PROTECTED]
Date: Nov 2, 2006 10:47 AM
Subject: Re: [Haskell-cafe] Class
To: Daniel Fischer [EMAIL PROTECTED]
On 11/2/06, Daniel Fischer [EMAIL PROTECTED] wrote:
Am Donnerstag, 2. November 2006 00:06 schrieb Slavomir Kaslev
instance definitions like 'instance Show
a = Visible a where ...'. Why?
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 11/2/06, Sebastian Sylvan [EMAIL PROTECTED] wrote:
On 11/2/06, Slavomir Kaslev [EMAIL PROTECTED] wrote:
Little by little, I think I am getting closer.
class Show a = Visible a where
toString :: a - String
toString = show
size :: a - Int
size = length . show
Is just
). Therefore,
I can't see any reason why toString function can't call show from
those instances.
Can someone please enlighten my (still) C++ thinking head?
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
Err, sorry for the meaningless mail subject. Should be 'Newbie class
problem' or something like that.
--
Slavomir Kaslev
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
21 matches
Mail list logo