) and GHC 6.8.3 (Linux), both give the
wrong result (categaried):
7 = 3 ?: False
3 = 5 ?: True
3 = 9 ?: True
3 = 6 ?: True
3 = 8 ?: True
3 = 3 ?: True
3 = 5 ?: True
3 = 4 ?: True
[[7],[3,5,9,6,8,3,5,4]]
Regards
--
L.Guo
be '.'.
Anyone would correct it ?
Regards
--
L.Guo
2009-08-06
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
://code.google.com/p/haskellworkingtools/
Regards
--
L.Guo
2009-03-16
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
6.8.3.
Prelude round 3.5
4
Prelude round 2.5
2
Is there any explanation about that ?
[1] The Haskell 98 Report: Predefined Types and Classes
http://haskell.org/onlinereport/basic.html
Regards
--
L.Guo
2008-10-27
___
Haskell
?
Or else, is there any other alter-round-function in haskell to do this ?
--
L.Guo
2008-10-27
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Oh, that's so cool.
But, this feather is too difficult to be configured in UE32 -- my costom IDE.
Pity. Hopes I wouldn't forget it later.
--
L.Guo
2008-10-14
-
From: Matt Morrow
At: 2008
the hackages?
I like hoogle engine. Bcuz it is a very usful tool which helps me learn
haskell. Wish it better.
Regards
--
L.Guo
2008-07-08
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
.
I can not finish building it before off work.
[1]
http://hackage.haskell.org/trac/ghc/wiki/Building/Porting#PortingGHCtoanewplatform
--
L.Guo
2008-07-02
-
From: Jeremy Shaw
At: 2008-06-28
--
L.Guo
2008-05-20
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
where
pos :: o - [Position]
-- Type.hs
import BasicalType
import Object
instance Object Box where
pos = return . BasicalType.pos
instance Object Chain where
pos = BasicalType.pos
-- Main.hs
import Type
...
Regards
--
L.Guo
2008-01-28
Ah, thanks, it is my fault, for mis-understanding the hint from GHC.
And what is the difference between fromIntegral and fromInteger ?
--
L.Guo
2008-01-01
-
From: Mark T.B. Carroll
/trac/ghc/wiki/Building/Porting
--
L.Guo
2007-09-17
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
L.Guo
2007-09-15
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
)
solutionOf = snd . minimum
. map (\(n,phi)-(toRational n / toRational phi,n))
. filter (uncurry isPerm) . phis
--
L.Guo
2007-09-14
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
. (map
p011_toGroups) $ p011_input
--
L.Guo
2007-08-17
-
From: Ronald Guida
At: 2007-07-20 11:39:50
Subject: [Haskell-cafe] Hints for Euler Problem 11
To handle the diagonals, my plan is to try
there is no error (type mismatch) of this call in func main :
pureSieve 1000
3) In main again, what does expression [| x |] mean ? Why this cannot be
execute in GHCi ?
Thanks for any advice.
Regards
--
L.Guo
2007-08-13
___
Haskell-Cafe
Because 10,000,000 is too large for a Int, it is always in type of Integer or
some higher level data type.
--
L.Guo
2007-08-13
-
From: Alexis Hazell
At: 2007-08-13 22:46:46
Subject: Re
In this case, I usually use _flip_ function.
flip :: (a - b - c) - b - a - c
flip f x y = f y x
--
L.Guo
2007-07-04
-
From: peterv
At: 2007-07-03 17:40:35
Subject: [Haskell-cafe] Haskell's
-in-block]], and also, is close to my future purpose.
Thanks.
--
L.Guo
2007-06-14
-
From: Janis Voigtlaender
At: 2007-06-14 15:42:40
Subject: Re: [Haskell-cafe] How to devide matrix into small
to write tools being used in my work. This is one of them.
I need to locate the difference between my coded image and standard coded image.
And both coded in 16x16 macroblocks. That is why I ran into this problem.
Anyway, thanks for your advice.
--
L.Guo
not know how to use it to write the function.
Thanks for any advice.
Regards
--
L.Guo
2007-06-13
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi All:
I wrote this func :
match = matchRegex . mkRegex
And when using it, I found that I have not even know the syntax of Regex.
Eager for your hint.
Regards
--
L.Guo
2007-06-11
___
Haskell-Cafe mailing list
Haskell-Cafe
Hi.
In GHCi ver 6.6, why this happens ?
Prelude Data.ByteString Data.ByteString.pack $! Prelude.map (`rem` 256) $
[0..511]
*** Exception: divide by zero
--
L.Guo
2007-05-25
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
When I was tring manually truncate data to Word8 to fill into
ByteString, I got the exception.
Thanks. Now I understand the reason for that exception.
And I know it is no need to manually truncate data.
--
L.Guo
2007-05-25
--
L.Guo
2007-05-25
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi MailList Haskell-Cafe:
Till now, which module / package / lib can i use to access binary file ?
And is this easy to use in GHC ?
Regards
--
L.Guo
2007-05-24
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
?
--
L.Guo
2007-05-24
-
发件人:Donald Bruce Stewart
发送日期:2007-05-24 14:03:27
收件人:L.Guo
抄送:MailList Haskell-Cafe
主题:Re: [Haskell-cafe] (no subject)
leaveye.guo:
Hi MailList Haskell-Cafe:
Till now, which module
Sorry for not familiar to the email client.
My system is WinXP, and using GHC 6.6.
And is read from file.
Data is truncated at the ^Z char.
I just wrote one simple test code.
import IO
writeTest fn = do
h - openFile fn WriteMode
mapM_ (\p - hPutChar h (toEnum p::Char)) $ [0..255] ++
give me some more hints ?
--
L.Guo
2007-05-24
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
do ?
--
L.Guo
2007-05-24
-
From: Donald Bruce Stewart
At: 2007-05-24 17:03:55
Subject: Re: Re: [Haskell-cafe] (no subject)
What are you trying to do?
-- Don
Very thanks for your example, I have not notice that there is a group of
hGetxxx functions in ByteString. In other words, I was using hGetxxx which
implemented in IO module. So it always failed.
--
L.Guo
2007-05-24
31 matches
Mail list logo