xhtmlboi / yocaml

YOCaml is a static site generator, mostly written in OCaml
GNU General Public License v3.0
108 stars 9 forks source link

Internalize the effect handling logic #11

Closed gr-im closed 3 years ago

gr-im commented 3 years ago

Although it is always possible to interpret a YOCaml program using an effect handler. This Commit introduces a first class module approach to facilitate the writing of an additional runtime.

From my point of view, this makes writing an additional runtime much "simpler"; the documentation should be quite explicit about the reasons for this approach.

xhtmlboi commented 3 years ago

I guess it's a detail ... but could you remove the point from your first commit :) Thank you.

gr-im commented 3 years ago

I guess it's a detail ... but could you remove the point from your first commit :) Thank you.

Arf, sorry. Done!