let
rec
ctyp_fa al =
function
|
TyApp
(_, f, a)
->
ctyp_fa (a :: al) f
|
f
->
(f, al)