Hi,
Suppose I am defining my own “stream” datatype, but there is a built-in
"stream" datatype in the prelude. When I just write “stream” in my dats
file, in which order does the compiler decide which actual implementation
to use?
Thanks,
Hi,
Suppose I am defining my own “stream” datatype, but there is a built-in
"stream" datatype in the prelude. When I just write “stream” in my dats
file, in which order does the compiler decide which actual implementation
to use?
Thanks,
The one defined in your own file.
The built-ins are called pervasives in ATS;
they are located in a part of namespace that is searched last.On Wednesday, February 19, 2014 10:14:34 AM UTC-5, Steinway Wu wrote:
Hi,
Suppose I am defining my own “stream” datatype, but there is a built-in
“stream” datatype in the prelude. When I just write “stream” in my dats
file, in which order does the compiler decide which actual implementation
to use?Thanks,