Permalink
Browse files

Moved destruct. to optionals, added demo

  • Loading branch information...
1 parent 7efea11 commit a166d34c360e3dcc8b964bd6615677e90a2bd827 Jakub Holy committed Nov 20, 2012
View
@@ -0,0 +1,27 @@
+(ns demo)
+;;;; Catnip demo
+
+
+;; DEMO 0: Error reporting
+;;
+;; Save this file (Ctrl-S) and Catnip will report *ERROR* in output
+;; and with an icon next to wrap-me-with-parens
+;; (still it will switch namespace)
+
+
+
+;; DEMO 1: Wrap with ()
+;;
+;; To wrap st. with (), select it first and type (
+;;
+wrap-me-with-parens
+
+
+
+;; DEMO 2: REPL interaction with source
+;;
+;; TO DO: Type the function below
+;; - show autom. indentation, autom. insertion of closing ) or "
+;; - then change the string and Ctrl-S or Ctrl-E
+;;(defn greeting []
+;; (println "Hello monsters!"))

0 comments on commit a166d34

Please sign in to comment.