This website requires JavaScript.
Explore
Help
Sign In
extern
/
nushell
Watch
1
Star
0
Fork
1
You've already forked nushell
mirror of
https://github.com/nushell/nushell.git
synced
2024-11-22 08:23:24 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
149ccc4fd3
nushell
/
rust-toolchain
2 lines
19 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Basic support for decimal numbers This commit is more substantial than it looks: there was basically no real support for decimals before, and that impacted values all the way through. I also made Size contain a decimal instead of an integer (`1.6kb` is a reasonable thing to type), which impacted a bunch of code. The biggest impact of this commit is that it creates many more possible ways for valid nu types to fail to serialize as toml, json, etc. which typically can't support the full range of Decimal (or Bigint, which I also think we should support). This commit makes to-toml fallible, and a similar effort is necessary for the rest of the serializations. We also need to figure out how to clearly communicate to users what has happened, but failing to serialize to toml seems clearly superior to me than weird errors in basic math operations.
2019-08-30 19:29:04 +02:00
nightly-2019-08-30
Reference in New Issue
Copy Permalink