Skip to content

Instantly share code, notes, and snippets.

@sids
sids / destructuring_examples.clj
Created October 18, 2012 19:48
Clojure Destructuring examples
;;; This is taken from http://paste.lisp.org/display/97057
;;; (which is no more; thanks to Wayback Machine which let me retrieve this).
;;; http://clojure.googlegroups.com/web/tutorial.pdf
;;; Vector binding forms destructure sequential things (vectors,
;;; lists, seqs, strings, arrays, and anything that supports nth)
;;; Map binding forms destructure associative things (maps, vectors, strings and arrays;
;;; the latter three have integer keys)

Keybase proof

I hereby claim:

  • I am sids on github.
  • I am sids (https://keybase.io/sids) on keybase.
  • I have a public key whose fingerprint is 940D 5E1F 153F 8DAB 36CA 0727 DFF8 A272 1E00 FA78

To claim this, I am signing this object:

@sids
sids / example.kt
Last active July 11, 2024 06:23
Workflow API exploration
typealias Input = String
typealias Output_1 = String
typealias Output_2 = String
typealias Output_3 = String
typealias Output_4 = String
typealias Output_5 = String
typealias Output_6 = String
class ExampleWorkflowTask : SimpleWorkflowTask<Input, Output_1>() {