Comments (3)
Interesting. I haven't thought about that yet, I'll think about it. Do you have suggestions?
from hs-msgpack-binary.
There are two options here: either add config to type class, like Aeson does, or add it to decode function.
Given that type classes are unlikely to re-define basic objects and map encodings, the latter is probably better - we could add a version of decoding function that accepts options.
from hs-msgpack-binary.
Since decode always goes through the data type (unlike aeson, which can do direct decoding from byte arrays without going through the object model), maybe we can have a profile validation operating on the object model?
from hs-msgpack-binary.
Related Issues (20)
- Update hackage/stackage version HOT 2
- This implementation doesn't fully follow the MessagePack spec HOT 2
- Maybe should result in ObjectNil OR ObjectXXX HOT 5
- Data.Vector instances HOT 1
- data-msgpack-0.0.5 benchmark build failure HOT 6
- `cabal sdist` does not include bench modules
- Add option to encode records as string-to-T maps
- Test `cabal sdist` on Travis CI HOT 1
- Is it really okay to convert msgpack's double to haskell's float? HOT 13
- Why did fromObject change? HOT 3
- Design and implement MessagePack schemas HOT 1
- Separate data-msgpack-types and serialisation implementations. HOT 6
- Take backward compatibilty seriously and apply sementic versioning. HOT 1
- hs-msgpack tests are not compatible with recent changes in hs-msgpack-types HOT 1
- A new version for GHC 8.8. HOT 1
- Think whether `groom` is actually needed HOT 1
- `user error (invalid encoding for list)` on unpacking a listless structure HOT 3
- putInt not decodable by getInt
- [question] Aeson adaptor HOT 3
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 hs-msgpack-binary.