I hereby claim:
- I am fpischedda on github.
- I am fpischedda (https://keybase.io/fpischedda) on keybase.
- I have a public key whose fingerprint is AB96 944B 2108 1B09 8BCA DA5D C959 4B1F B6F1 BDF2
To claim this, I am signing this object:
Verifying that +francesco_pischedda is my blockchain ID. https://onename.com/francesco_pischedda |
I hereby claim:
To claim this, I am signing this object:
""" | |
flatten.py | |
Problem: | |
given an arbitarily nested list return a flattened list | |
Unit test included in the module itself for simplicity | |
Works with python2 and python3 | |
""" |
(ns rs.frontend.db | |
(:require | |
[cljs.core :refer [random-uuid]] | |
[datascript.core :as d])) | |
;; some ids, pre-generated to create mock data and references | |
(defonce ids {:image1 (random-uuid) | |
:image2 (random-uuid) | |
:image3 (random-uuid) | |
:image4 (random-uuid) |