Browse thread
List.cons and "::"
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | code17@g... |
| Subject: | Re: List.cons and "::" |
Martin Jambon <martin.jambon@ens-lyon.org> writes: > :: and () are just constructors with a special syntax. ... and so do "true" and "false". > You can override them: ... and the way of pattern matching (::) remains the same. [cf.] http://ocaml.cn/node/344