diff options
Diffstat (limited to 'src/gleam/iodata.gleam')
-rw-r--r-- | src/gleam/iodata.gleam | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/src/gleam/iodata.gleam b/src/gleam/iodata.gleam index a919cf1..5310b5e 100644 --- a/src/gleam/iodata.gleam +++ b/src/gleam/iodata.gleam @@ -128,10 +128,12 @@ pub fn replace( /// /// ## Examples /// -/// ``` -/// from_strings(["a", "b"]) == new("ab") == False -/// is_equal(from_strings(["a", "b"]), new("ab")) == True -/// ``` +/// > from_strings(["a", "b"]) == new("ab") +/// False +/// +/// > is_equal(from_strings(["a", "b"]), new("ab")) +/// True +/// /// pub external fn is_equal(Iodata, Iodata) -> Bool = "string" "equal" @@ -139,10 +141,14 @@ pub external fn is_equal(Iodata, Iodata) -> Bool = "string" "equal" /// /// ## Examples /// -/// ``` -/// new("ok") |> is_empty == False -/// new("") |> is_empty == True -/// from_strings([]) |> is_empty == True -/// ``` +/// > new("ok") |> is_empty +/// False +/// +/// > new("") |> is_empty +/// True +/// +/// > from_strings([]) |> is_empty +/// True +/// /// pub external fn is_empty(Iodata) -> Bool = "string" "is_empty" |