Here's one, which I believe is actually used in nibble
:
import gleam/float
pub type Function(param, return) {
Function(fn(param) -> return)
}
pub fn make_a_function() -> Function(Float, Int) {
use value <- Function
let int_value = float.round(value)
int_value * 2 - 1
}
My example isn't very good, but you get the idea
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too