Skip to content

Instantly share code, notes, and snippets.

View transducer's full-sized avatar

Erwin Rooijakkers transducer

View GitHub Profile
@transducer
transducer / new-short-quick-intro.cljs
Last active March 10, 2018 22:01 — forked from daveliepmann/new-short-quick-intro.cljs
2018 maria.cloud quick intro
;; # Hi!
;; This environment is called Maria. We're going to learn to program with Maria. 😃 Don't worry if anything's new or confusing at first. We'll explain everything as we go.
;; First, let's ask the computer some questions. We'll ask our questions in a programming language called Clojure. Here we go!
;; Put your cursor at the end of the following code block with `(circle 25)` and press `Control-Enter` (`Command-Enter` on Mac):
(circle 25)

Keybase proof

I hereby claim:

  • I am transducer on github.
  • I am rooijakkers (https://keybase.io/rooijakkers) on keybase.
  • I have a public key ASBM_GU82-WHFpLXv49SSMKaKFbhSkoAgEMEnkT4RuNw6wo

To claim this, I am signing this object:

(defn modify-keys [f m] (zipmap (map f (keys m)) (vals m)))
(defn prefix-with-ns [coll]
(modify-keys
#(keyword (str "spec.core/" (clojure.string/replace (str %) ":" "")))
coll))
(def my-json (prefix-with-ns (json/read-json "{\"yes\": \"yes\"}" ))) ; => {:yes "yes"}
(ns evalapply.evaluator)
;; Have to declare all defined stuff below on top (except eval and
;; apply.
(declare self-evaluating? variable? lookup-variable-value quoted?
assignment? definition? if? lambda? make-procedure begin?
cond? application? text-of-quotation eval-assignment
eval-definition eval-if eval-sequence lambda-parameters
lambda-body val-sequence cond->if list-of-values
operator operands begin-actions no-operands? first-operand
[ArgumentNullException: Value cannot be null.
Parameter name: data]
Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.TryDeserializeProviderUserId(String data, String& providerName, String& providerUserId) +68
[project].Controllers.AccountController.ExternalLoginConfirmation(RegisterExternalLoginModel model, String returnUrl) in c:\Users\[username]\Documents\Visual Studio 2012\Projects\[project]-trunk(1)\[project]\Controllers\AccountController.cs:314
lambda_method(Closure , ControllerBase , Object[] ) +147
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +211
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
System.Web.Mvc.Async.<>c__Di