core: Make closure real type.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 23 Dec 2016 17:48:36 +0000 (18:48 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 23 Dec 2016 17:48:36 +0000 (18:48 +0100)
commit20b7a7851a273a739765b281d0657e561ae10364
tree6aabbc017c57e8ab4dfb01b72c0f1ee1549148f3
parent20eecdc6380ba51eece038bf63b51306133e2f38
core: Make closure real type.

* display.c (display_helper):
* mes.c (type_t): Add CLOSURE.
  (scm_t): Add closure.
  (CLOSURE): New macro.
  (eval_apply:apply): Update.
  (eval_apply:eval): Remove closure special-casing.
  (gc_loop): Handle CLOSURE.
* module/mes/read-0.mes: Update types.
* module/mes/type-0.mes: Update types.
* display.c (display): Update.
* module/mes/fluids.mes (env:escape-closure): Check for '*closure.
display.c
mes.c
module/mes/fluids.mes
module/mes/read-0.mes
module/mes/type-0.mes