so, while I'm writing the haskell bindings, I need to deal with.. well, C-ness

what happens if something goes index out of bounds?

symengine currently crashes, correct?

`vecbasic_get`

Yes, although those should be fixed.

This one doesn't crash, https://github.com/symengine/symengine/blob/master/symengine/cwrapper.cpp#L837

This one doesn't crash, https://github.com/symengine/symengine/blob/master/symengine/cwrapper.cpp#L837

These are the error codes, https://github.com/symengine/symengine/blob/master/symengine/symengine_exception.h#L4-L11

Any unrecognized error will return, SYMENGINE_RUNTIME_ERROR

Almost all functions return error codes like that.

`vecbasic_get`

and a few other are remaining
shall I change all the

`vecbasic_*`

calls?
I'll make a PR

also, does symengine plan on having support for elliptic curve operations?

that's something I would be interested in coding up

well, there's standard things you'd like to support, right? counting points on an elliptic curve over a finite field, discrete log implementation, etc. ?

Ah, @nishnik should be able to give an idea about finite fields.

@bollu, that is useful for the diophantine module in sympy as well.