Go To Homepage



Book Details
Expert F# book cover
  • By Don Syme Adam Granicz Antonio Cisternino
  • ISBN13: 978-1-59059-850-4
  • ISBN10: 1-59059-850-4
  • 609 pp.
  • Published Dec 2007
  • Print Book Price: $79.99
  • eBook Price: $55.99



Errata Submission

If you think that you've found an error in Expert F#, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

Submit Errata
Expert F# (978-1-59059-850-4)

Errata

Issue Author's Response
Chapter 3, page 47, Using Local Functions, definition of "remap" - the definitions of mapx and mapy generate errors since the value of truncate is float and it is being added to an int. Need to add "int (truncate ...)". Thank you, I have updated the errata at
http://www.expert-fsharp.com/Updates/Forms/AllItems.aspx

This code change was because of a corresponding design change in the F# September 2008 CTP.

thanks
don
Chapter 3, page 29
Table 3.3 Bitwise operators shows wrong operator for exclusive or. Shows "ööö" (three o-umlaut's) but should be "^^^"
Thank you for reporting this, I've updated the errata at http://www.expert-fsharp.com/Updates/Forms/AllItems.aspx

kind regards
don
Chapter 5, page 107:

let readValue inputStream =
let formatter = new BinaryFormatter()
let res = formatter.Deserialize(inputStream)
unbox x

Should be:
let readValue inputStream =
let formatter = new BinaryFormatter()
let res = formatter.Deserialize(inputStream)
unbox res
The proposed change is correct. Thanks.
> let empties : int list [] = Array.create 100 [];;

let empties : int list [] = Array.create 100 [];;
---------------------------------------------^^^

stdin(55,46): error FS0001: This expression has type
'a list
but is here used with type
int list.
Hi there,

I don't get an error when I type this into FSI. Is there anything unusual with your installation?

Thanks
don


let empties : int list [] = Array.create 100 [];;
Page 84, line 4, the definition of the value sparseMap is not good. sparseMap can't have the type Dictionary<string, string list>. In fact, "sparseMap" should have type "Dictionary<(int * int),float>" You are right, we have updated the errata corrige to include your suggestion. Thanks.

-- Antonio