[
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: | nakata keiko <keiko@k...> |
| Subject: | recursive types |
Can I have recursive types going through both of "normal" types and
class types?
I would like to define something like
type exp = [`Num of obj |`Neg of obj]
and class type obj =
object
method eql : exp -> bool
end
Thanks,
Keiko