Jakub T. Jankiewicz
Jakub T. Jankiewicz
Where do you see this? Browser or Node and what version what OS?
I think that I need to add a fallback when performance API is missing. https://caniuse.com/mdn-api_performance_timeorigin
I think you have very old nodeJS, Debian is known to have outdated packages. What version of Node do you have?
I think that before Node 14 you need to import performance from 'perf_hooks' module. It also works for Node 14. So I need to add: ```scheme (define performance (. (require...
Oh, it seems that I've already fixed this issue in https://github.com/jcubic/lips/commit/1c3be12287f08f060c616a01635c26db44563727 But there are only 2 bug fixes so it was not released as new beta version.
range is fixed the same as cylce detection, for this one case one thing that remain is Pair.toString that's recursive. For toString I can use code from my StackOverflow question...
Arithmetic error: ```scheme ;; Returns the arithmetic, geometric, and ;; harmonic means of a nested list of numbers (define (means ton) (letrec* ((mean (lambda (f g) (f (/ (sum g...
Function `(means '(3 (1 4)))` is fixed the problem was that `(/ 2)` was returning `2` and it was even in doc string. According to spec it should return `1/2`.
[Example using p5.js without any extra API](https://codepen.io/jcubic/pen/QWMqOVb?editors=1000).
This should also work in NodeJS: ```scheme (load "https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/lib/srfi/156.scm") ```