Last active
January 15, 2023 21:07
-
-
Save behrica/533c6456c08236b48c49369800bb2ed5 to your computer and use it in GitHub Desktop.
run gist from babashka
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:deps {medley/medley {:mvn/version "1.3.0"}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns main | |
(:require [medley.core :as m])) | |
(defn -main [& _args] | |
(prn (m/index-by :id [{:id 1} {:id 2}]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment