[
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: | 2008-06-10 (02:29) |
From: | Robert Fischer <robert.fischer@s...> |
Subject: | Variant type with 'a type? |
Is it possible to do a variant type along the lines of "type try = Result of 'a | Exception of exn"? When I try that, I get an error saying "Unbound type parameter 'a". ~~ Robert.