Skip to content

Commit 0a8e8f1

Browse files
devrieslpil
authored andcommitted
update dynamic.classify example to use string instead of from
1 parent 0a5c717 commit 0a8e8f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
- The performance of the `string.repeat` function has been improved. It now runs
44
in loglinear time.
5-
5+
- Updated documentation for `dynamic.classify` to reflect the removal of the
6+
`dynamic.from` function.
7+
68
## v0.62.1 - 2025-08-07
79

810
- `string.inspect` now shows Erlang atoms as `atom.create("value")`, to match

src/gleam/dynamic.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub type Dynamic
2121
/// `gleam/dynamic/decode` module.
2222
///
2323
/// ```gleam
24-
/// classify(from("Hello"))
24+
/// classify(string("Hello"))
2525
/// // -> "String"
2626
/// ```
2727
///

0 commit comments

Comments
 (0)