Skip to content

Instantly share code, notes, and snippets.

View carrascomj's full-sized avatar
:octocat:

Jorge Carrasco carrascomj

:octocat:
  • DTU
  • Copenhagen, Denmark
View GitHub Profile
@carrascomj
carrascomj / main.rs
Created December 30, 2021 15:40
Rust FizzBuzz Iterator
#[derive(Debug, PartialEq, PartialOrd)]
pub enum FizzBuzz<T> {
Fizz,
Buzz,
FizzBuzz,
Value(T),
}
#[must_use = "iterators are lazy and must be consumed"]
pub struct FBIt<I> {
@carrascomj
carrascomj / try_cuosqp_optlang.ipynb
Last active September 14, 2021 10:03
try_cuosqp_optlang.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.