hamidb80 / hamidb80/iterrr

nested problems

Open
#34 3 comments 0 reactions 0 assignees View on GitHub
stupid
Dominant language
Nim
Stars
73
Forks
4
PR merge metrics
No merged PRs in 30d

Description

let's say we have an string `i`, and we wanna iterator over it line by line
```nim
import std/strutils
let i = "..."
```

but this style of writing uses the funcion of `splitLines`
```nim
i.splitLines.iterrr:
map it.strip()
toseq()
```

but this style of writing uses the _**iterator**_ of `splitLines`
```nim
iterrr i.splitLines:
map it.strip()
toseq()
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by searching the repository for the `iterrr` implementation and existing handling of `splitLines`, since the issue names no files or tests. Compare the two examples and clarify the intended behavior for function results versus iterator inputs, then add coverage showing the accepted syntax and its completed output.

Written by the indexing model from the issue text.

Assessment

Tech stack
nim
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.