hashes: support object default hash (#17175)
This commit is contained in:
parent
4a31088ac2
commit
63f1c38f4e
3 changed files with 62 additions and 18 deletions
|
|
@ -173,14 +173,16 @@ provided by the operating system.
|
|||
dumping (on select signals) and notifying the parent process about the cause
|
||||
of termination.
|
||||
|
||||
- Added `strip` and `setSlice` to `std/strbasics`.
|
||||
- `hashes.hash` now supports `object`, but can be overloaded.
|
||||
|
||||
- Added `strip` and `setSlice` to `std/strbasics`.
|
||||
|
||||
- Added to `wrapnils` an option-like API via `??.`, `isSome`, `get`.
|
||||
|
||||
- `std/options` changed `$some(3)` to `"some(3)"` instead of `"Some(3)"`
|
||||
and `$none(int)` to `"none(int)"` instead of `"None[int]"`.
|
||||
|
||||
|
||||
## Language changes
|
||||
|
||||
- `nimscript` now handles `except Exception as e`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue