Comments (2)
Because that's the way the underlying C library works, and requiring a Text
in between would be a performance hit. We could provide a decodeText
function, but it would just call encodeUtf8
on the incoming Text
. If that would be useful to you, could you send a pull request?
from yaml.
Thanks for your quick answer. I would submit a PR if I need decodeText
.
from yaml.
Related Issues (20)
- `yaml` is not `MonadFail`-ready HOT 4
- Major version bump required for v0.11.1.0 release HOT 3
- simple encode Point, output 'y' not y, is it a bug? HOT 2
- loadYamlSettings seems to invoke loadYamlSettingsArgs HOT 3
- Please check in the generated .cabal file
- Idea: explicit error for tabs HOT 5
- `encodeFile` does not truncate an existing file on Windows HOT 7
- `encodePretty` doesn't encode all object keys correctly HOT 4
- Maps with complex keys aren't supported HOT 1
- OtherParseException thread killed is actively harmful HOT 3
- Scientific Notation of Floating Point Values
- Eq Instance for ParseException? HOT 2
- decodeThrow expecting ‘Data.ByteString.Internal.ByteString’ HOT 3
- Empty variable value
- Empty environment variable problem HOT 10
- Install executables `json2yaml` and `yaml2json` by default HOT 3
- json2yaml does not understand `--help`; both do not understand `--version` HOT 2
- Give `yaml2json` the same interface as `json2yaml`? HOT 4
- Compatibility with aeson-2.0 HOT 9
- Please export Parse HOT 4
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 yaml.