I hereby claim:
- I am kristof-mattei on github.
- I am kristofmattei (https://keybase.io/kristofmattei) on keybase.
- I have a public key ASAevan0fX1gq59VqKbRa6hprCvpUredN30hzoe7fBhaaQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # sorry, python doesn't have a built-in table printer | |
| from tabulate import tabulate | |
| max = 3 | |
| def get_functions(): | |
| lst = [] | |
| for i in range(0, max): | |
| lst.append(lambda: i) | |
| return lst |
| const { Octokit } = require("@octokit/rest"); | |
| const { serializeError } = require("serialize-error"); | |
| const octokit = new Octokit({ | |
| auth: "PUT TOKEN HERE" | |
| }); | |
| const baseRef = { | |
| owner: "Kristof-Mattei", |
| const max = 3; | |
| function get_functions() { | |
| lst = [] | |
| for (const i of [...Array(max).keys()]) { | |
| lst.push(() => i) | |
| } | |
| return lst | |
| } | |
| function* get_functions_yield() { |
| module Engine.Functions | |
| let rec Calculate columns = | |
| match columns with | |
| | h::[] -> [ [ h ] ] | |
| | h::t -> | |
| let x = Calculate t | |
| List.fold (fun acc elem -> (h::elem)::acc) ([h]::x) x | |
| | [] -> [] |