ocaml-multicore / effects-examples

Examples to illustrate the use of algebraic effects in Multicore OCaml
ISC License
423 stars 35 forks source link

Added the exponentation function to algorithmic differentiation #17

Closed anmolsahoo25 closed 4 years ago

anmolsahoo25 commented 5 years ago

The Linux build is failing with [ERROR] The current version of OPAM cannot read the repository "default". You should upgrade to at least version 2.0.

The Mac build - ` +opam switch 4.06.1+multicore [ERROR] No switch 4.06.1+multicore is currently installed. Did you mean 'opam switch create 4.06.1+multicore'? Installed switches are:

Switching to opam-2.0.0 should fix the problem with Linux. Looking into the MacOS one for now

kayceesrk commented 4 years ago

@anmolsahoo25 I'm going to close this one since the examples are meant to showcase simple uses and not be a full-fledged system. In that vein, exponentiation isn't very different from other operations already in there. It is better to keep the boilerplate small to aid study. Hence, I'm closing this PR.