DestructHub / ProjectEuler

Polyglot solutions for www.projecteuler.net mathematical challenges
https://destructhub.github.io
MIT License
166 stars 45 forks source link

Add OCaml support #191

Closed a-hilaly closed 6 years ago

a-hilaly commented 6 years ago

Adding OCaml support ( #190 )

I use temporarily an image taged add-ocaml-support.

Here is the logs after running all ocaml solutions:

screenshot 2018-10-26 at 00 14 30
a-hilaly commented 6 years ago

Now i have to replace the default image (taged latest) with the new one, and fix the docker-compose.yml. Do you agree so i can do so ?

rafaelcn commented 6 years ago

Weird, travis is giving an error on the line that I have requested a change. It should be working though.

a-hilaly commented 6 years ago

the github new feature made something like:

let __kappa__ =
let __kappa__ = solve 100;;

It should be working now 🎉

rafaelcn commented 6 years ago

Wow, I didn't know that it duplicated code. Maybe that's because of the way I suggested it. Anyway, it's working now, you may replace the default image with the new one.

a-hilaly commented 6 years ago

@rafaelcn Alright ! i'll update the default image and modify the docker-compose.yml