Hacker News new | past | comments | ask | show | jobs | submit login

This looks really cool! I think I found a few errors in the docs:

1. On https://hush-shell.github.io/intro/basic-constructs.html you say that `let x = array[5]` should panic, but the array has enough items. Perhaps you wrote that, then added more items to the array and forgot to change it?

2. On https://hush-shell.github.io/error-handling.html you sometimes have safe_div_mod and sometimes safe_division.




Wouldn't the value of the fifth index be executed there, which is false and would hence fail?

Not sure either though

> safe_div_mod and sometimes safe_division

Aren't those different things? Save division wouldn't use mod by default, right? The function for save division is missing though, but it might just be a built-in


I've already opened a pull request for the latter https://github.com/hush-shell/hush-shell.github.io/pull/1




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: