Now asInteger (toInteger (-1) :: AField Jubjub.F) gives Just (-1) instead of 52435875175126190479447740508185965837690552500527637822603658699938581184512.
Ready for another review. Now we have a test that shows how overflows are handled and the old test now uses Large Int instead of Integer as that has no chance of overflowing.
Now
asInteger (toInteger (-1) :: AField Jubjub.F)
givesJust (-1)
instead of52435875175126190479447740508185965837690552500527637822603658699938581184512
.