Tuesday, November 27, 2012

F#'s variable name is allowed to use apostrophe

F#'s variable name is allowed to use apostrophe, except as first character. I have never known the fact until reading "Programming F# 3.0, 2nd Edition".
> let Mary'sCookie = "Yummy";;

val Mary'sCookie : string = "Yummy"

No comments:

Post a Comment