haskell-ja > Archives > 2010/01/22
Built on
Chaton
Search
|
Badge
|
Tools
2009/12
2010/01
2010/01/01 (40)
2010/01/02 (34)
2010/01/03 (0)
2010/01/04 (4)
2010/01/05 (9)
2010/01/06 (27)
2010/01/07 (84)
2010/01/08 (23)
2010/01/09 (14)
2010/01/10 (1)
2010/01/11 (0)
2010/01/12 (0)
2010/01/13 (1)
2010/01/14 (1)
2010/01/15 (21)
2010/01/16 (10)
2010/01/17 (13)
2010/01/18 (20)
2010/01/19 (11)
2010/01/20 (58)
2010/01/21 (0)
2010/01/22 (6)
2010/01/23 (13)
2010/01/24 (1)
2010/01/25 (122)
2010/01/26 (0)
2010/01/27 (0)
2010/01/28 (1)
2010/01/29 (13)
2010/01/30 (2)
2010/01/31 (0)
2010/02
<< 2010/01/21
Back to the chat room
2010/01/23 >>
2010/01/22 11:29:54 UTC
a
#
a
2010/01/22 11:31:14 UTC
Lost_dog
#
(-1) :: Num a => a -> a
#
みたいな関数ってどうやって書くのか教えてください><
2010/01/22 11:42:05 UTC
pi8027
#
flip (-) 1 とか (+(-1)) とかどうですか。(これくらいしか思いつかなかった)
2010/01/22 11:43:57 UTC
eagletmt@twitter
#
subtract という関数を使うといいでしょう
2010/01/22 11:52:47 UTC
Lost_dog
#
>pi8027さん >eagletmtさん どうもありがとう!
<< 2010/01/21
Back to the chat room
2010/01/23 >>