Skip to content

Instantly share code, notes, and snippets.

View DharmeshRathod712's full-sized avatar
🎯
Learning

Dharmesh Rathod DharmeshRathod712

🎯
Learning
View GitHub Profile
precedencegroup ForwardPipe {
associativity: left
}
infix operator |> : ForwardPipe
func |> <T, U>(value: T, function: ((T) -> U)) -> U {
return function(value)
}