aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rothuis <alex.rothuis@gmail.com>2023-11-12 20:52:25 +0100
committerLouis Pilfold <louis@lpil.uk>2023-11-13 17:43:06 +0000
commitd7db6233534f2cc7688f8c52081f5db4cf4da14a (patch)
treefc0df97e6fcf84ef3fdb268db514d7fd05ca1f61
parentb7c3c20c9e2ec2f20c449b5ff78e99a0949a717d (diff)
downloadgleam_stdlib-d7db6233534f2cc7688f8c52081f5db4cf4da14a.tar.gz
gleam_stdlib-d7db6233534f2cc7688f8c52081f5db4cf4da14a.zip
Separate examples for tuple5
-rw-r--r--src/gleam/dynamic.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gleam/dynamic.gleam b/src/gleam/dynamic.gleam
index fb6eac2..de8cc9e 100644
--- a/src/gleam/dynamic.gleam
+++ b/src/gleam/dynamic.gleam
@@ -827,7 +827,9 @@ pub fn tuple4(
/// Error([
/// DecodeError(expected: "Tuple of 5 elements", found: "Tuple of 2 elements", path: [])),
/// ])
+/// ```
///
+/// ```gleam
/// > from("")
/// > |> tuple5(int, float, string, int, int)
/// Error([DecodeError(expected: "Tuple of 5 elements", found: "String", path: [])])