a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
288 B
C#
23 lines
288 B
C#
class Continuation<R,A>
|
|
{
|
|
public static Continuation<R,A> CallCC<B> (object f)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
class Driver
|
|
{
|
|
static Continuation<B,A> myTry<A,B> (B f, A x)
|
|
{
|
|
return Continuation<B,A>.CallCC <object> (null);
|
|
}
|
|
|
|
public static void Main()
|
|
{
|
|
myTry <int,int> (3, 7);
|
|
}
|
|
}
|
|
|
|
|