<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dhall_rust/dhall, branch substitutions</title>
<subtitle>working copy forked from https://github.com/Nadrieril/dhall-rust
</subtitle>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/'/>
<entry>
<title>add type substitutions to serde_dhall</title>
<updated>2021-04-10T20:59:07+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-10T20:59:07+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=2958333c83dce911463734e391fe3ccc76cfc9d5'/>
<id>2958333c83dce911463734e391fe3ccc76cfc9d5</id>
<content type='text'>
this adds subsititutions, which work similar to the
`Dhall.substitutions` mechanism of the Haskell dhall package, and which
can be used e.g. like this:

```rust
serde_dhall.from_str(...)
  .substitute_names(hashmap!["Newtype" =&gt; static_type])
  .parse::&lt;SimpleType&gt;()?
```

The idea behind this is to make it easy to add programmer-defined types
which may be used in configs for programs, without forcing the program's
users to re-import the same type definitions each time (or the
programmers to keep the dhall-based definitions in sync with their rust
types, since these are now generated automatically).

Caveats so far:
 - makes some of the code ugly (dhall internals are now used in
   serde_dhall/src/lib.rs, for example)
 - haven't tested error messages so far
 - some unecessary copying of strings and static type values
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this adds subsititutions, which work similar to the
`Dhall.substitutions` mechanism of the Haskell dhall package, and which
can be used e.g. like this:

```rust
serde_dhall.from_str(...)
  .substitute_names(hashmap!["Newtype" =&gt; static_type])
  .parse::&lt;SimpleType&gt;()?
```

The idea behind this is to make it easy to add programmer-defined types
which may be used in configs for programs, without forcing the program's
users to re-import the same type definitions each time (or the
programmers to keep the dhall-based definitions in sync with their rust
types, since these are now generated automatically).

Caveats so far:
 - makes some of the code ugly (dhall internals are now used in
   serde_dhall/src/lib.rs, for example)
 - haven't tested error messages so far
 - some unecessary copying of strings and static type values
</pre>
</div>
</content>
</entry>
<entry>
<title>release: dhall version 0.10.1</title>
<updated>2021-04-03T17:30:34+00:00</updated>
<author>
<name>Nadrieril</name>
</author>
<published>2021-04-03T17:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=299adf4ef35b78f97eb7582f1a73349fdf3100e3'/>
<id>299adf4ef35b78f97eb7582f1a73349fdf3100e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>clippy: ignore unknown lints</title>
<updated>2021-04-03T14:50:32+00:00</updated>
<author>
<name>Nadrieril</name>
</author>
<published>2021-04-03T14:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=acdbd5f8202c63981576a244b178beceef0bd267'/>
<id>acdbd5f8202c63981576a244b178beceef0bd267</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>clippy: ignore upper_case_acronyms</title>
<updated>2021-04-03T14:23:45+00:00</updated>
<author>
<name>Nadrieril</name>
</author>
<published>2021-04-03T14:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=cc49b127f6555c3f91eae0ab5ad038ce8c037b13'/>
<id>cc49b127f6555c3f91eae0ab5ad038ce8c037b13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: fix formatting</title>
<updated>2021-04-03T14:22:44+00:00</updated>
<author>
<name>Nadrieril</name>
</author>
<published>2021-04-03T14:22:44+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=87304eecb75a957c4df411e7961a19208bddd525'/>
<id>87304eecb75a957c4df411e7961a19208bddd525</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore clippy's needless question mark lint for the ast visitor macros.</title>
<updated>2021-04-03T12:56:49+00:00</updated>
<author>
<name>Ceri Storey</name>
</author>
<published>2021-04-03T12:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=c331dcfaed6177a322de50fed418aa619210e88b'/>
<id>c331dcfaed6177a322de50fed418aa619210e88b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid ambiguity from use of Itertools::intersperse.</title>
<updated>2021-04-03T12:56:49+00:00</updated>
<author>
<name>Ceri Storey</name>
</author>
<published>2021-03-27T10:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=1cbee42df4868a92de5b18a174592497d451a814'/>
<id>1cbee42df4868a92de5b18a174592497d451a814</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace a bunch of Err(…)? and format!("constant") calls.</title>
<updated>2021-03-27T10:51:05+00:00</updated>
<author>
<name>Ceri Storey</name>
</author>
<published>2021-03-27T10:10:54+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=6053e48575cf3b421f3eb8a6af33c853a518d9c9'/>
<id>6053e48575cf3b421f3eb8a6af33c853a518d9c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: fix clippy warnings</title>
<updated>2021-03-09T23:04:50+00:00</updated>
<author>
<name>Nadrieril</name>
</author>
<published>2021-03-09T23:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=f107bd530562877a37e23425aa8c5f662ee73185'/>
<id>f107bd530562877a37e23425aa8c5f662ee73185</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>release: dhall version 0.10.0</title>
<updated>2021-02-04T16:03:07+00:00</updated>
<author>
<name>Nadrieril</name>
</author>
<published>2021-02-04T16:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/dhall_rust/commit/?id=8224d1be94ddbb5685c08bf0a97a73029755ac3b'/>
<id>8224d1be94ddbb5685c08bf0a97a73029755ac3b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
