Idris2/libs/base/Data
Edwin Brady 0a246af449 Make Buffer more primitive
Meaning that the FFI is aware of it, so you can send arbitrary byte data
to foreign calls. Fixes #209

This means that we no longer need the hacky way of reading and writing
binary data via scheme, so can have a more general interface for reading
and writing buffer data in files.

It will also enable more interesting high level interfaces to binary
data, with C calls being used where necessary.

Note that the Buffer primitive are unsafe! They always have been, of
course... so perhaps (later) they should have 'unsafe' as part of their
name and better high level safe interfaces on top.

This requires updating the scheme to support Buffer as an FFI primitive,
but shouldn't affect Idris2-boot which loads buffers its own way.
2020-06-11 14:05:52 +01:00
..
List Fix import loading 2020-05-27 15:49:03 +01:00
Nat Fix import loading 2020-05-27 15:49:03 +01:00
Primitives Add libraries 2020-05-18 14:00:08 +01:00
Buffer.idr Make Buffer more primitive 2020-06-11 14:05:52 +01:00
Either.idr Add libraries 2020-05-18 14:00:08 +01:00
Fin.idr Fix import loading 2020-05-27 15:49:03 +01:00
Fuel.idr add Data.Fuel 2020-06-02 17:20:42 +02:00
IOArray.idr IOArray needs to export max 2020-05-30 17:40:48 +01:00
IORef.idr Experiment %syntactic flag on with 2020-05-29 16:39:11 +01:00
List.idr New way of instantiating metavariables 2020-06-06 18:43:06 +01:00
Maybe.idr Add a total version of the fromMaybe 2020-05-21 02:11:35 +08:00
Morphisms.idr Add libraries 2020-05-18 14:00:08 +01:00
Nat.idr Copy over more Nat proofs 2020-06-07 12:19:32 -05:00
So.idr Add libraries 2020-05-18 14:00:08 +01:00
Stream.idr Add libraries 2020-05-18 14:00:08 +01:00
Strings.idr All functions now need to be covering by default 2020-05-24 19:58:20 +01:00
Vect.idr Add libraries 2020-05-18 14:00:08 +01:00