[Replace ASCII em dashes with Unicode em dashes. Bryan O'Sullivan **20070921051722] { hunk ./en/book-shortcuts.xml 61 + hunk ./en/ch01-whyfp.xml 101 - In Haskell, all data is immutable -- it cannot be modified. If you + In Haskell, all data is immutable&emdash;it cannot be modified. If you hunk ./en/ch01-whyfp.xml 103 - original list returned -- except for the one changed element. Then + original list returned&emdash;except for the one changed element. Then hunk ./en/ch01-whyfp.xml 126 - you combine two strings and the result is a new string -- not a + you combine two strings and the result is a new string&emdash;not a merger 0.0 ( hunk ./en/ch06-typeclasses.xml 24 - - Naive Equality -- Colors (naiveeq.hs) - &naiveeq.hs:color; - + &naiveeq.hs:color; hunk ./en/ch06-typeclasses.xml 25 - Naive Equality -- Colors (naiveeq.hs) + Naive Equality&emdash;Colors (naiveeq.hs) ) hunk ./en/ch06-typeclasses.xml 127 - That function takes two parameters -- both corresponding to instance - types -- and returns a Bool. + That function takes two parameters&emdash;both corresponding to instance + types&emdash;and returns a Bool. merger 0.0 ( hunk ./en/ch06-typeclasses.xml 202 - FIXME: How to cite sources on this? -- jg - - Haskell Standard Eq Typeclass - + hunk ./en/ch06-typeclasses.xml 202 - FIXME: How to cite sources on this? -- jg + FIXME: How to cite sources on this?&emdash;jg ) hunk ./en/ch06-typeclasses.xml 209 - -- Minimal complete definition: - -- (==) or (/=) + &emdash;Minimal complete definition: + &emdash; (==) or (/=) hunk ./en/ch06-typeclasses.xml 360 - needed -- at least not in this case. Therefore, we give an explicit + needed&emdash;at least not in this case. Therefore, we give an explicit hunk ./en/ch07-io.xml 82 - a function. It takes a parameter -- a &String; -- and returns an + a function. It takes a parameter&emdash;a &String;&emdash;and returns an hunk ./en/ch07-io.xml 148 - did have side-effects -- it caused things to appear on the terminal, - for instance -- name2reply did not and could not. + did have side-effects&emdash;it caused things to appear on the terminal, + for instance&emdash;name2reply did not and could not. hunk ./en/ch07-io.xml 199 - &putStrLn; but take an additional argument -- a &Handle; -- that + &putStrLn; but take an additional argument&emdash;a &Handle;&emdash;that hunk ./en/ch07-io.xml 227 - () -- this function doesn't return any other specific + ()&emdash;this function doesn't return any other specific hunk ./en/ch07-io.xml 453 - redirect the file handles to come from (or go to) different places -- - files, devices, or even other programs. This feature is used + redirect the file handles to come from (or go to) different places&emdash;files, devices, or even other programs. This feature is used hunk ./en/ch07-io.xml 461 - But it also lets you work with input and output files -- or even - combine your code with other programs -- if that's + But it also lets you work with input and output files&emdash;or even + combine your code with other programs&emdash;if that's hunk ./en/ch07-io.xml 678 - completely transparently to you. And since you have what looks like -- - and, really, is -- a pure &String;, you can pass it to pure (non-&IO;) + completely transparently to you. And since you have what looks like&emdash;and, really, is&emdash;a pure &String;, you can pass it to pure (non-&IO;) hunk ./en/ch07-io.xml 693 - the same result each time it is called. It has no need to know -- - and no way to tell -- that its input is being read lazily from a file + the same result each time it is called. It has no need to know&emdash;and no way to tell&emdash;that its input is being read lazily from a file hunk ./en/ch07-io.xml 711 - -- which means it will never again be used -- the file is closed + &emdash;which means it will never again be used&emdash;the file is closed hunk ./en/ch07-io.xml 735 - Look at that -- the guts of the program takes up only two lines! + Look at that&emdash;the guts of the program takes up only two lines! hunk ./en/ch07-io.xml 770 - It may take a bit to process, but you should see a constant -- and - low -- memory usage while it is being processed. + It may take a bit to process, but you should see a constant&emdash;and + low&emdash;memory usage while it is being processed. hunk ./en/ch07-io.xml 785 - is passed the result of getContents -- that is, + is passed the result of getContents&emdash;that is, hunk ./en/ch07-io.xml 796 - Look at that -- one line of code to achieve our + Look at that&emdash;one line of code to achieve our hunk ./en/ch07-io.xml 876 - about it, a filter -- such as the standard Unix program - grep -- sounds a lot like a function. It takes + about it, a filter&emdash;such as the standard Unix program + grep&emdash;sounds a lot like a function. It takes hunk ./en/ch07-io.xml 916 - Moreover, the computation can be performed at any time -- or even + Moreover, the computation can be performed at any time&emdash;or even hunk ./en/ch07-io.xml 947 - out a line right away. But you can store -- but not execute -- the + out a line right away. But you can store&emdash;but not execute&emdash;the hunk ./en/ch07-io.xml 949 - list2actions -- we use ↦ over + list2actions&emdash;we use ↦ over hunk ./en/ch07-io.xml 1007 - function that returns a list. It doesn't -- and can't -- actually + function that returns a list. It doesn't&emdash;and can't&emdash;actually hunk ./en/ch07-io.xml 1117 - yet. Even if your operation doesn't directly impact the disk -- - perhaps because the data is cached -- I/O still involves a system call, + yet. Even if your operation doesn't directly impact the disk&emdash;perhaps because the data is cached&emdash;I/O still involves a system call, hunk ./en/ch07-io.xml 1123 - concerned. The operating system typically performs caching -- storing + concerned. The operating system typically performs caching&emdash;storing hunk ./en/ch07-io.xml 1147 - does just what it sounds like -- no buffering. Data read via functions + does just what it sounds like&emdash;no buffering. Data read via functions hunk ./en/ch13-data.xml 347 - &Nothing; doesn't actually encapsulate any data, so it -- by itself - -- is valid with any &Just;. You can also give it an explicit type + &Nothing; doesn't actually encapsulate any data, so it&emdash;by itself + &emdash;is valid with any &Just;. You can also give it an explicit type }