This file contains hidden or 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
| ;; Datomic example code | |
| ;; demonstrates various update scenarios, using a news database | |
| ;; that contains stories, users, and upvotes | |
| ;; grab an in memory database | |
| (use '[datomic.api :only (q db) :as d]) | |
| (def uri "datomic:mem://foo") | |
| (d/create-database uri) | |
| (def conn (d/connect uri)) |
This file contains hidden or 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 overtone-tutorial.mary) | |
| (use 'overtone.core) | |
| (boot-external-server) | |
| (definst saw-wave [freq 440 attack 0.01 sustain 0.4 release 0.1 vol 0.4] | |
| (* (env-gen (lin-env attack sustain release) 1 1 0 1 FREE) | |
| (saw freq) | |
| vol)) |
This file contains hidden or 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 spreads | |
| (:use zeder)) | |
| (def legal-cards | |
| [:๐ก :๐ฑ :๐ :๐ | |
| :๐ข :๐ฒ :๐ :๐ | |
| :๐ฃ :๐ณ :๐ :๐ |
This file contains hidden or 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 {org.apache.logging.log4j/log4j-api {:mvn/version "2.17.2"} | |
| org.apache.logging.log4j/log4j-core {:mvn/version "2.17.2"} | |
| org.apache.logging.log4j/log4j-layout-template-json {:mvn/version "2.17.2"} | |
| org.apache.logging.log4j/log4j-slf4j18-impl {:mvn/version "2.17.2"}}} |
OlderNewer