X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fvs_haskell.sgml;h=38d1472b4b10ed71e03d1c10170bd628d2019164;hb=630af8101b7af8583542fc45616383608cb3f76a;hp=2b6bb34821720eea240e9dcfb9044de37b50b679;hpb=7db602a0d8f840362c455650cbddc1ecc04ec43d;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/vs_haskell.sgml b/ghc/docs/users_guide/vs_haskell.sgml index 2b6bb34..38d1472 100644 --- a/ghc/docs/users_guide/vs_haskell.sgml +++ b/ghc/docs/users_guide/vs_haskell.sgml @@ -42,15 +42,6 @@ option don't mix very well (see ). -Very long literal lists: - - -These may tickle a “yacc stack overflow” error in the parser. -(It depends on the Yacc used to build your parser.) - - - - Single quotes in module names: @@ -68,17 +59,7 @@ It might work, but it's just begging for trouble. - - - -Derived instances for records: - - -Hmmm. - - - - +None known. @@ -95,9 +76,9 @@ Hmmm. Several modules internal to GHC are visible in the standard namespace. -All of these modules begin with Prel, so the rule is: don't use any -modules beginning with Prel in your program, or you will be -comprehensively screwed. +All of these modules begin with Prel, so the rule +is: don't use any modules beginning with Prel in +your program, or you will be comprehensively screwed. @@ -117,17 +98,20 @@ comprehensively screwed. Unchecked arithmetic: -Arguably not an infelicity, but… Bear in mind that -operations on Int, Float, and Double numbers are -unchecked for overflow, underflow, and other sad occurrences. -(note, however that some architectures trap floating-point overflow -and loss-of-precision and report a floating-point -exception)floating-point exceptions. +Arguably not an infelicity, but… Bear in +mind that operations on Int, +Float, and Double numbers are +unchecked for overflow, underflow, and other sad +occurrences. (note, however that some architectures trap +floating-point overflow and loss-of-precision and report a +floating-point exception, probably terminating the +program)floating-point +exceptions. -Use Integer, Rational, etc., numeric types if this stuff -keeps you awake at night. +Use Integer, Rational, etc., +numeric types if this stuff keeps you awake at night. @@ -138,7 +122,7 @@ keeps you awake at night. This code fragment should elicit a fatal error, but it does not: -main = print (array (1,1) [ 1:=2, 1:=3 ]) +main = print (array (1,1) [(1,2), (1,3)]) @@ -174,18 +158,16 @@ stuck on them. - -Unicode character set: - - -Haskell 98 embraces the Unicode character set, but GHC doesn't -handle it. Yet. - - - + +