Make FFI_Exportable more generic.

This commit is contained in:
Matus Tejiscak 2015-07-31 00:50:03 +01:00
parent 8ed600091f
commit 098656e423

View File

@ -226,7 +226,7 @@ namespace FFI_Export
%used FFI_Prim prim
data FFI_Exportable : (f : FFI) -> List (Type, ffi_data f) -> Type -> Type where
FFI_IO : (b : FFI_Base f xs t) -> FFI_Exportable f xs (IO t)
FFI_IO : (b : FFI_Base f xs t) -> FFI_Exportable f xs (IO' f t)
FFI_Fun : (b : FFI_Base f xs s) -> (a : FFI_Exportable f xs t) -> FFI_Exportable f xs (s -> t)
FFI_Ret : (b : FFI_Base f xs t) -> FFI_Exportable f xs t