Skip to content

Commit

Permalink
Add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Dec 7, 2024
1 parent a07f5b1 commit b66f4b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## Pre-Release

- Introduce new cgp-field constructs [#36](https://github.com/contextgeneric/cgp/pull/36)
- Introduce the product type constructs `Cons` and `Nil`.
- Introduce the sum type constructs `Either` and `Void`.
- Introduce the `Field` type for tagged field value.
- Introduce the `Product!` macro for building product types.
- Introduce the `product!` macro for building product expressions.
- Introduce the `Sum!` macro for building sum types.
- Change the `symbol!` macro to generate product type of `Char` using `Cons` and `Nil`.

- Rename `HasField::Field` to `HasField::Value` - [#35](https://github.com/contextgeneric/cgp/pull/35)

- Remove `Sized` constraint from `Async` trait - [#34](https://github.com/contextgeneric/cgp/pull/34)
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-field-macro-lib/src/product.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct ParsePunctuated<T>(pub Punctuated<T, Comma>);

impl<T: Parse> Parse for ParsePunctuated<T> {
fn parse(input: ParseStream) -> syn::Result<Self> {
let types = Punctuated::parse_terminated(&input)?;
let types = Punctuated::parse_terminated(input)?;
Ok(ParsePunctuated(types))
}
}
Expand Down

0 comments on commit b66f4b8

Please sign in to comment.