Category: Haskell

haskell 02 [data type / list operators]

haskell 02 [data type / list operators]

1 มิถุนายน 2010

ต้อง blog แบบ embedded  ไม่รู้จะได้อ่านต่ออีกเมื่อไร … เริ่มรู้สึกไม่ค่อยเข้าใจ …

haskell 01

haskell 01

25 พฤษภาคม 2010

ลองกดเข้าไปใน $ghci ดู แล้วก็พบว่า มันมี :info เพื่อ inspect ระดับ (presedence) ของ operator ได้ ghci> :info (+) class (Eq a, Show a) => Num a where (+) :: a -> a -> a … – Defined in GHC.Num infixl 6 + ghci> :info (*) class (Eq a, Show a) => Num a where …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes