Discussion:
Module syntax
Shiqi Cao
2009-07-21 03:53:04 UTC
Permalink
Hi,

When reading F# spec, the example seems wrong, in Chapter 10 http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/spec.html#_Toc234058171 module-defn-body is surrounded by "begin" and "end" but the first example in 10.1 does not have "begin" ... "end", did I miss anything?


module-defn :=

| attributesopt module accessopt ident = module-defn-body



module-defn-body :=

| begin module-elemsopt end


Thanks,
Shiqi

---
You are currently subscribed to fsharp as: gclfm-***@m.gmane.org
To unsubscribe send a blank email to leave-832004-***@list.research.microsoft.com
Please see our Privacy Statement:
http://research.microsoft.com/en-us/about/listserverprivacy.aspx
Frank de Groot
2009-07-22 08:17:19 UTC
Permalink
#light syntax perhaps?



From: ***@microsoft.com
To: ***@list.research.microsoft.com
Subject: [fsharp] Module syntax
Date: Tue, 21 Jul 2009 03:53:04 +0000
















Hi,

When reading F# spec, the example seems wrong, in Chapter 10 http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/spec.html#_Toc234058171 module-defn-body is surrounded by “begin” and “end” but the first example in 10.1 does not have “begin” ... “end”, did I miss anything?

module-defn :=
| attributesopt module accessopt ident = module-defn-body

module-defn-body :=
| begin module-elemsopt end


Thanks,
Shiqi
---
You are currently subscribed to fsharp as: ***@hotmail.com
To unsubscribe send a blank email to leave-832004-***@list.research.microsoft.com










Please see our Privacy Statement:
http://research.microsoft.com/en-us/about/listserverprivacy.aspx
_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx
---
You are currently subscribed to fsharp as: gclfm-***@m.gmane.org
To unsubscribe send a blank email to leave-833544-***@list.research.microsoft.com
Please see our Privacy Statement:
http://research.microsoft.com/en-us/about/listserverprivacy.aspx

Loading...