We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extra_required
1 parent b649d35 commit 0d8d847Copy full SHA for 0d8d847
src/gleam/uri.gleam
@@ -517,14 +517,6 @@ fn pop_codeunit(str: String) -> #(Int, String)
517
@external(javascript, "../gleam_stdlib.mjs", "string_codeunit_slice")
518
fn codeunit_slice(str: String, at_index from: Int, length length: Int) -> String
519
520
-fn extra_required(list: List(a), remaining: Int) -> Int {
521
- case list {
522
- _ if remaining == 0 -> 0
523
- [] -> remaining
524
- [_, ..rest] -> extra_required(rest, remaining - 1)
525
- }
526
-}
527
-
528
/// Parses an urlencoded query string into a list of key value pairs.
529
/// Returns an error for invalid encoding.
530
///
0 commit comments