Closed jonathan-laurent closed 3 years ago
HI! Thanks for the issue! Yes, I guess Containers has deprecated Option.get_exn
- there are a couple of other fixes I've been thinking about making, so I'll do them all at once and update the library later today
Thanks, fixed it in 4549de, and added a new release. Anyway, I'm glad to hear that this library is useful for others, pull requests are welcome.
First of all, thanks for developing this great library! This is exactly what I was looking for.
I just tried to compile the dev version of this library but I got the following error:
The problem is indeed with this line: https://github.com/verse-lab/ego/blob/5daf312f8a444f9abcde5996c671b9282727a972/lib/generic.ml#L350
which is attempting to use
Option.get_exn
. This function exists inBase
but not inStdlib
.Fix
A simple fix is to replace this line by:
I am happy to make a PR if that's convenient to you.