Category: Haskell
haskell 02 [data type / list operators]
1 มิถุนายน 2010
ต้อง blog แบบ embedded ไม่รู้จะได้อ่านต่ออีกเมื่อไร … เริ่มรู้สึกไม่ค่อยเข้าใจ …
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 …


![haskell 02 [data type / list operators]](http://www.together.in.th/wp-content/uploads/2010/06/Haskell.png)