Skip to content

nested problems  #34

@hamidb80

Description

@hamidb80

let's say we have an string i, and we wanna iterator over it line by line

import std/strutils
let i = "..."

but this style of writing uses the funcion of splitLines

i.splitLines.iterrr:
    map it.strip()
    toseq()

but this style of writing uses the iterator of splitLines

iterrr i.splitLines:
    map it.strip()
    toseq()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions