Currently, problems 1-50 are solved.
- Mostly imperative style (
Id.run do ...) is used. - No proof. Partial functions and panicking functions are used.
- Performance is ignored, but every solution runs in less than one second (compiled executable).
- I didn't use any third-party library.
lake pe exe will run solutions for every problem.
- I don't know what is the proper way to measure the time of computation.
- Is there a "black box" API (
α → IO α) that inhibits the reordering of pure computations?
- Is there a "black box" API (
- I miss
IteratorAPI of Rust.- I don't want to use
Range.toArrayif the array will be folded.
- I don't want to use
- The
elabcommand is great for ad-hoc code generation. !a[i]!(array index +notoperator) looks funny (because it is somewhat symmetric).forInAPI missing:- Half-open ranges (hypothetical syntax:
[1:]) Intranges- Reverse iteration.
- Half-open ranges (hypothetical syntax: