От: | cadet354 | my twitter | |
Дата: | 06.10.09 07:49 | ||
Оценка: |
let tst = fun message ->
match message with
| To, msg -> printf "tuple"
| msg1 -> printf "object"
fun_test (Y) ->
case Y of
{To, Message} -> tuple;
Message -> not_tuple
end.