Plurrrr

a tumblelog
11 Oct 2019

Function Currying in Go

Go can be used to program in a functional style, previously I’ve written about how we can use this to implement Continuation Passing Style programming. As such, it is possible to implement currying in Go as well. Before we take a look at how we can implement this in Go, let’s take a practical look at what function currying actually is, and why we want this.

Source: Function Currying in Go, an article by Dylan Meeus.

Convert curl syntax to Python etc.

Via Hacker News I found this handy tool that converts curl commands to Python, Ansible URI, Node.js, R, PHP, Strest, Go, Dart, JSON, Rust. Give it a spin: Convert curl syntax.