Idris2/libs/prelude
Edwin Brady d60feaace0 Add finalisers to Chez back end
This involves new primitives GCPtr and GCAnyPtr which are pointer types
that have finalisers attached. The finalisers are run when the
associated pointer goes out of scope.

In the test, I am assuming that the GC will only be called once, right
at the end. Otherwise, the output isn't guaranteed to be deterministic!
Let's see how this assumption holds...

This is currently Chez only. I think it'll be easy enough to add to
the Racket and Gambit back ends too.
2020-06-08 20:34:23 +01:00
..
Builtin.idr Clarify assert_{total,smaller} docs 2020-06-01 15:37:34 -04:00
Makefile Refactor makefiles 2020-05-19 18:50:47 +06:00
Prelude.idr Add Bits primitives 2020-06-01 11:48:03 +01:00
prelude.ipkg Add libraries 2020-05-18 14:00:08 +01:00
PrimIO.idr Add finalisers to Chez back end 2020-06-08 20:34:23 +01:00