|
|
|
@ -271,7 +271,6 @@ pub fn parse_detailed(
|
|
|
|
|
|> list.map(string.trim)
|
|
|
|
|
|> utils.fold_try_varindex(from: FoldAccumulator([], []), starting_with: 1, with: fold_func_embed(fold_func, canonical_directives, is_environment))
|
|
|
|
|
// For some reason I cannot `|> result.try()`, which makes me sad, so it goes to the line below :-)
|
|
|
|
|
|> io.debug
|
|
|
|
|
use line_types <- result.try(line_types)
|
|
|
|
|
case line_types {
|
|
|
|
|
FoldAccumulator([], lines) -> Ok(list.reverse(lines)) // It is faster to add lines to front!
|
|
|
|
|