question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement IEnumerable on reversed

See original GitHub issue

We do the same thing in other reversed iterators. Fixes the following:

bytes(reversed(b"123"))

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexKubiesacommented, Nov 25, 2018

Yes, it does fix the sample code

0reactions
sloziercommented, Nov 25, 2018

Did you check that your fix indeed fixes the sample code in the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enumerable.Reverse<TSource>(IEnumerable<TSource ...
This method is implemented by using deferred execution. The immediate return value is an object that stores all the information that is required...
Read more >
difference between IEnumerable<T>.Reverse & List<T>.Reverse
In this view of the data, returning a new IEnumerable in a different order is the expected result. When you use a List...
Read more >
Best Practices Implementing the IEnumerable Interface
In this article we will cover the origin, the purpose, and best practices in implementing IEnumerable interface in C#.
Read more >
Implementing IEnumerable in the Data Structures - Msmvps
So I decided to implement IEnumerable<T> on the data structures. ... and not in the reversed order (last pushed should be the first...
Read more >
IEnumerable<T> - Using C# LINQ - A Practical Overview
What is IEnumerable<T>? IEnumerable<T> is an interface that guarantees a given class is iterable. · What classes implement IEnumerable<T>? Most C# collections ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found