From 88ba3f7f7888e9088caffce7cd9fcfb817da1a77 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Sat, 4 Jan 2020 08:11:51 -0600 Subject: [PATCH] Fix docstring for the ucg strings op. --- std/strings.ucg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/std/strings.ucg b/std/strings.ucg index 27eeeea..7a50e71 100644 --- a/std/strings.ucg +++ b/std/strings.ucg @@ -9,6 +9,8 @@ // // * split_at - function splits the wrapped string at an character index. // +// * parse_int - function that parses an integer from the beginning of a string. +// // * substr - module that returns a substr of the wrapped string. // - `start` field is the index at which the substr starts (defaults to 0) // - `end` field is the index at which the substr ends (defaults to end of string) @@ -117,7 +119,6 @@ let ops = module { true = this{chars=lists.tail(mod.chars), acc=mod.acc+mod.chars.0}.unwrap(), }, }; - }; let parse_int_func = func() => parse_int{chars=chars}.do(func(s) => int(s));