Idris2/libs/base
Edwin Brady 7c5650e94e
Allow functions to be marked for foreign export (#2433)
* Allow functions to be marked for foreign export

This relies on the backend knowing what to do with such things, but the
general idea is to mark them with '%export "backend:exportedname"' then
'getCompileDataWith', given a back end, will search for every function
that needs to be exported, as well as every function starting from the
expression to be compiled. This will allow Idris functions to be called
from other languages, where a backend supports it.

This is hard to set up a test case for, for the moment, since no
backends actually do anything with it. So consider it a bit of a
placeholder for now.

* Add missing clause to Eq FnOpt

Thanks to @buzden
2022-04-25 13:48:30 +01:00
..
Control [ re #2370 ] Add forgotten export clause 2022-04-01 12:20:01 +01:00
Data [base] add missing node ffi functions (#2427) 2022-04-22 15:45:52 +01:00
Debug [ base ] Add a trace variant easily embeddable to point-free expr 2022-04-14 13:36:14 +01:00
Decidable [ base ] Add some more properties, functions and interface implementations (#2361) 2022-03-23 13:33:13 +00:00
Language Allow functions to be marked for foreign export (#2433) 2022-04-25 13:48:30 +01:00
Syntax Move Syntax.PreorderReasoning into base (#2368) 2022-03-22 20:58:36 +00:00
System [base] add missing node ffi functions (#2427) 2022-04-22 15:45:52 +01:00
base.ipkg [ base ] Add a function extensionality interface 2022-04-01 11:44:37 +01:00
Makefile [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
System.idr Add a few missing NodeJS FFI functions to System (#2271) 2022-01-18 22:43:03 -08:00