Comments (5)
I could yeah. But I'd rather wait until someone really needs to store a huge number, to understand what they really need.
from dhall-rust.
It is indeed intentional. Haskell has built-in support for numbers of arbitrary size, but rust and the serde ecosystem don't. It would have been a lot of work for nothing since serde would have rejected it. Do you have a use for such huge numbers?
from dhall-rust.
I personally don't, but I found this while writing tests for dhall-python, which is an implementation I maintain that depends on dhall-rust w/ FFI, since Python supports arbitrarily-sized numbers. I guess it's unfeasible to support arbitrarily large numbers while serde doesn't support it. Thanks for the info
from dhall-rust.
We could probably add support for deserializing it as a u128
, no?
from dhall-rust.
Probably not actually, since it's being parsed as a u64
currently:
dhall-rust/dhall/src/syntax/ast/expr.rs
Line 11 in 8be3891
from dhall-rust.
Related Issues (20)
- RUSTSEC-2020-0016: `net2` crate has been deprecated; use `socket2` instead HOT 1
- RUSTSEC-2020-0095: difference is unmaintained
- Running functions? HOT 4
- can't build serde_dhall as dep of my project HOT 3
- RUSTSEC-2020-0146: arr! macro erases lifetimes
- `#[derive(StaticType)]` triggers the `redundant_semicolons` warning HOT 2
- Remote->Remote import chaining HOT 1
- Extremely slow parsing times HOT 2
- home-anchored imports don't work
- RUSTSEC-2021-0127: serde_cbor is unmaintained HOT 1
- Tilde does not expand to home dir HOT 2
- Conversions to Pest of 0-repetition ABNF rules fail HOT 1
- generic error message for duplicate field: RecordTypeMergeRequiresRecordType with no line reference HOT 1
- Serializing record of enums: `Serialize` is not implemented for `SimpleType` HOT 3
- RUSTSEC-2021-0139: ansi_term is Unmaintained
- Add new custom builtin functions HOT 1
- Support predefined `ABNF` core rules HOT 1
- abnf to pest issues HOT 1
- Recursive types HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhall-rust.