File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v0.19.2 - 2022-01-09
4+
5+ - The ` dynamic.dynamic ` function is is no longer a thunk.
6+
37## v0.19.1 - 2022-01-09
48
59- The ` dynamic.dynamic ` function now returns a result.
Original file line number Diff line number Diff line change 11name = " gleam_stdlib"
2- version = " 0.19.1 "
2+ version = " 0.19.2 "
33licences = [" Apache-2.0" ]
44description = " A standard library for the Gleam programming language"
55
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ if javascript {
6767/// when you need to give a decoder function but you don't actually care what
6868/// the to-decode value is.
6969///
70- pub fn dynamic ( ) -> Decoder ( Dynamic ) {
71- Ok
70+ pub fn dynamic ( value : Dynamic ) -> Result ( Dynamic , List ( DecodeError ) ) {
71+ Ok ( value )
7272}
7373
7474/// Checks to see whether a `Dynamic` value is a bit_string, and returns that bit string if
You can’t perform that action at this time.
0 commit comments