conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Update equivalent? function to make it indifferent of key, value order." }, { "from": "human", "value": "(import [object? vector? keys vals dec] \"../lib/runtime\")\n\n(def to-string Object.prototype.to-string)\n\n(defn ^boolean date?\n \"Returns true if x is a dat...
wisp
chosen
[ { "from": "system", "value": "Update setq definition to use new quoting.\n" }, { "from": "human", "value": "(defun 1+ (n)\n (+ 1 n))\n\n(defun length (lst)\n (if (nullp lst)\n 0\n (1+ (length (cdr lst)))))\n\n(defmacro setq (var val)\n (list (quote set) (list (quote quote) var) val))\...
wisp
chosen
[ { "from": "system", "value": "Use `**verbose**` mode if wisp started with `--verbose` flag." }, { "from": "human", "value": "(import fs \"fs\")\n(import [rest] \"../sequence\")\n(import [str] \"../runtime\")\n(import [read-from-string] \"../reader\")\n(import [compile-program] \"../compiler\")\n...
wisp
chosen