Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 286 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 286 Bytes

Type-level bubble sort algorithm in Rust

Read the article about the implementation: link!

assert_type_eq!(
	BubbleSort<Cons<N3, Cons<N1, Cons<N2, Nil>>>>,
	Cons<N1, Cons<N2, Cons<N3, Nil>>>);