Browse thread
class and printf
- Anastasia Gornostaeva
[
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: | Anastasia Gornostaeva <ermine@e...> |
| Subject: | class and printf |
Hello.
What I need to drink to compile it?
class foo ch =
object
method myprintf = Printf.fprintf ch
end
The compiler says
The method myprintf has type ('a, out_channel, unit) format -> 'a where 'a
is unbound