ckp95
ckp95
Okay the base conversion functions are implemented in this PR #49
There are no problems wrt Python versions -- I made sure to use the comment version of type hints so that it works on everything back to Python 2.7, you...
1) I will look at this on the weekend. 2) Ah I was actually wrong earlier about the lack of introduced dependencies, I forgot that the `typing` module isn't native...
Okay, good to know I'm not going crazy 😅 Have you considered using [hypothesis](https://github.com/HypothesisWorks/hypothesis) to property-test this library? It works particularly well for mathematical code with lots of clean invariants...
>The binary_search_circle function passes this test 🙂 Actually not quite, this gives a warning: ```python E RuntimeWarning: invalid value encountered in divide E Falsifying example: test_binary_search_circle_is_rotationally_symmetric( E arr1=[0.5], E arr2=[0.25],...
I can also provide an implementation of `foo` with the wrong signature and it also compiles: ``` module body Blah is typeclass SomeTypeclass(T: Type) is method foo(x: T): Unit; end;...