mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-22 14:38:20 +03:00
Make FFI_Exportable more generic.
This commit is contained in:
parent
8ed600091f
commit
098656e423
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user