conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Use explicit package marker with IN-PACKAGE.\n"
},
{
"from": "human",
"value": "(in-package #:sicl-global-environment)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Macro DEFINE-COMPILER-MACRO.\n\n(defmacro define-compiler-macro... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define subclasses of 2-3 tree classes for testing purposes.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-test)\n\n"
},
{
"from": "gpt",
"value": "(cl:in-package #:clump-test)\n\n(defclass size-mixin ()\n ((%size :initarg :size :reader size)... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use the normal CL package.\n"
},
{
"from": "human",
"value": "(cl:in-package #:common-lisp-user)\n\n(defpackage #:sicl-common-lisp\n (:nicknames #:sicl-cl #:scl)\n (:export \n . #.(loop for symbol being each external-symbol of '#:common-lisp\n\t collect (sym... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define ASDF system in package ASDF-USER.\n"
},
{
"from": "human",
"value": "(cl:in-package #:common-lisp-user)\n\n(asdf:defsystem :cleavir-liveness\n :depends-on (:cleavir-utilities)\n :components\n ((:file \"packages\")\n (:file \"liveness\" :depends-on (\"pac... | common-lisp | chosen |
[
{
"from": "system",
"value": "Convert EQL to STRING== on literal string arguments.\n"
},
{
"from": "human",
"value": "(defun eql (x y)\n (| x (setq x nil))\n (| y (setq y nil))\n (| (eq x y)\n (?\n (& (number? x)\n (number? y)) (== x y)\n (& (string? x)\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Put load-url into a function\n"
},
{
"from": "human",
"value": "(defpackage lispkit\n (:use :gtk :gdk :gdk-pixbuf :gobject\n :drakma :cl-webkit\n :glib :gio :pango :cairo :common-lisp)\n (:export #:main))\n\n(in-package :lispkit)\n\n(defparameter *cu... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add correct key for email on ASDF definition\n\n* :email => :mailto\n"
},
{
"from": "human",
"value": ";; Common Lisp Script\n;; Manoel Vilela\n\n\n(asdf/defsystem:defsystem :lisp-chat\n :author \"Manoel Vilela\"\n :description \"An experimental chat irc-like\"\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Remove method specialized to SET-SYMBOL-VALUE-INSTRUCTION.\n"
},
{
"from": "human",
"value": "(cl:in-package #:cleavir-remove-useless-instructions)\n\n(defgeneric instruction-may-be-removed-p (instruction))\n\n(defmethod instruction-may-be-removed-p (instruction)\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Change §-F (switch case) to follow 0 to n-1 index convention.\n"
},
{
"from": "human",
"value": " ;; Pegexel is a little exercises generator, using common-lisp.\n ;; Copyright (C) 2012 Yves Combe <yves@ycombe.net>\n\n ;; This program is free software: you ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use asdf:defsystem instead of just defsystem.\n"
},
{
"from": "human",
"value": "(defsystem #:unicode\n :name \"unicode\"\n :licence \"TODO\"\n :author \"Thomas Bakketun <thomas.bakketun@copyleft.no>\"\n :description \"Unicode support for Common Lisp.\"\n :depe... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add an OVERWRITE restart in PUT-TO-S3-URL.\n"
},
{
"from": "human",
"value": ";;;; s3.lisp\n\n(in-package #:quicklisp-client-uploader)\n\n(defun s3-components (url)\n (setf url (url url))\n (values (hostname url)\n (string-left-trim \"/\" (path url))))\n\... | common-lisp | chosen |
[
{
"from": "system",
"value": "Load the definition of (SETF CL:FDEFINITION).\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-extrinsic-hir-compiler)\n\n(defun rp (filename)\n (asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))\n\n(load (rp \"../../Evaluation-and-compi... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix license in system definition\n"
},
{
"from": "human",
"value": "(asdf:defsystem #:birch\n :serial t\n :description \"A simple Common Lisp IRC client library\"\n :author \"Joram Schrijver <i@joram.io>\"\n :license \"LLGPL\"\n :depends-on (#:split-sequence #:... | common-lisp | chosen |
[
{
"from": "system",
"value": "Modify according to new way of transmitting the dynamic environment.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-extrinsic-environment)\n\n(defun find-variable-entry (symbol env)\n (loop for entry in (dynamic-environment env)\n\tdo (when (and (typep en... | common-lisp | chosen |
[
{
"from": "system",
"value": "Convert lambda expressions. Fix DEFPACKAGE.\n"
},
{
"from": "human",
"value": "; tré – Copyright (c) 2014 Sven Michael Klose <pixel@copei.de>\n\n(defun cl-packages ()\n `((defpackage :tre-core\n (:export :nil :t :setq :labels\n ,@(make-keywords ... | common-lisp | chosen |
[
{
"from": "system",
"value": "FORMAT-CONDITION: Define method CONDITION SYMBOL such as to interpret SYMBOL as an output stream designator\n"
},
{
"from": "human",
"value": "\n\n(in-package #:utils)\n\n(define-condition simple-style-warning (style-warning simple-condition)\n ())\n\n(defmacro sim... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add back (include \"stdlib.h\") to fix compilation on FreeBSD.\n"
},
{
"from": "human",
"value": ";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n;;;\n;;; --- Wrappers for socket-related C macros.\n;;;\n\n(in-package :net.sockets)\n\n(c \"#... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add support for constant tests in `(case)`\n"
},
{
"from": "human",
"value": "(import base (defun defmacro progn for while if when unless and or\n get-idx set-idx! format print! pretty error! empty-struct gensym\n == ~= < <= > >= + - * % ^ ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define ASDF system in the package ASDF-USER.\n"
},
{
"from": "human",
"value": "(cl:in-package #:common-lisp-user)\n\n(asdf:defsystem :sicl-data-and-control-flow\n :depends-on (:sicl-environment\n\t :cleavir-internationalization)\n :serial t\n :components\n... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add a :description to the .asd file."
},
{
"from": "human",
"value": ";;;; cl-stripe.asd\n\n(asdf:defsystem #:cl-stripe\n :serial t\n :depends-on (#:st-json\n #:drakma\n #:alexandria)\n :components ((:file \"package\")\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define method on REPLACE specialized to 3-NODE.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-2-3-tree)\n\n;;; This generic function can be used only on an empty tree.\n(defgeneric insert (object tree))\n\n(defmethod insert :before (object (tree tree))\n... | common-lisp | chosen |
[
{
"from": "system",
"value": "Allow applications to specify the name of the session id cookie. This allows multiple cookie session UCW applications on a single hostname without stomping the sessions.\n"
},
{
"from": "human",
"value": ";; See the file LICENCE for licence information.\n(in-package... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use SYMBOL-FUNCTION instead of EVAL.\n"
},
{
"from": "human",
"value": ";;;;; tré – Copyright (C) 2005-2009,2011–2012 Sven Michael Klose <pixel@copei.de>\n\n(defun %=-function? (x)\n (function? (eval `(function ,x))))\n"
},
{
"from": "gpt",
"value": ";;... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define function LD for loading files.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-boot-phase1)\n\n(defun fill-environment (linkage-environment)\n (declare (ignore linkage-environment))\n nil)\n"
},
{
"from": "gpt",
"value": "(cl:in-package... | common-lisp | chosen |
[
{
"from": "system",
"value": "Load file containing definitions of methods on ENSURE-GENERIC-FUNCTION-USING-CLASS.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-boot-phase1)\n\n(defun ld (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (finish-output ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add an :AFTER method on (SETF LEFT) specialized to NODE-WITH-PARENT.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-binary-tree)\n\n(defgeneric left (node))\n(defgeneric right (node))\n(defgeneric (setf left) (new-left node))\n(defgeneric (setf right) (ne... | common-lisp | chosen |
[
{
"from": "system",
"value": "Make Clouseau's system definition inter-file dependencies explicit,\njust for good measure.\n"
},
{
"from": "human",
"value": ";;; -*- Mode: Lisp; Package: INSPECTOR -*-\n\n;;; (c) copyright 2005 by\n;;; Robert Strandh (strandh@labri.fr)\n\n;;; This libra... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix names of days, broken because of timezone change\n"
},
{
"from": "human",
"value": "(in-package #:roo-site)\n\n(defvar *day-names*\n '(\"Maandag\" \"Dinsdag\" \"Woensdag\" \"Donderdag\" \"Vrijdag\" \"Zaterdag\" \"Zondag\"))\n\n(defgeneric name-of-day (date))\n\... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix horrible bug that skipped the first assignment after accumulating functions.\n"
},
{
"from": "human",
"value": ";;;;; TRE environment\n;;;;; Copyright (c) 2005-2011 Sven Klose <pixel@copei.de>\n\n(defun copy-while (pred x)\n (when (and x (funcall pred (car x)))... | common-lisp | chosen |
[
{
"from": "system",
"value": "Replace segregation only by complete processing of captured variables.\n"
},
{
"from": "human",
"value": "(cl:in-package #:cleavir-hir-transformations)\n\n(defun hir-transformations (initial-instruction implementation processor os)\n (type-inference initial-instruc... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix startup by blocking threads.\n"
},
{
"from": "human",
"value": "(in-package #:laap)\n\n(defvar *thread-pool* nil)\n(defvar *loop* nil)\n\n(defmacro with-event-loop (&body body)\n `(let* ((*thread-pool* (make-instance 'thread-pool))\n\t (*loop* (make-instance '... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define ASDF system in package ASDF-USER.\n"
},
{
"from": "human",
"value": "(in-package #:cl-user)\n\n;;;; Copyright (c) 2008 - 2013\n;;;;\n;;;; Robert Strandh (robert.strandh@gmail.com)\n;;;;\n;;;; all rights reserved. \n;;;;\n;;;; Permission is hereby granted ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Check for losing state not undecided state\n"
},
{
"from": "human",
"value": "; find the minimax analysis of a game of nim\n; nim is a game where players take turns dividing a pile of discrete size\n; where the player that makes an even division loses\n; assume that... | common-lisp | chosen |
[
{
"from": "system",
"value": "Update program counter for data.\n"
},
{
"from": "human",
"value": "; bender – Copyright (c) 2014–2016 Sven Michael Klose <pixel@hugbox.org>\n\n(def-instruction write-instruction-operand (instruction out)\n (alet operand\n (dotimes (i (instruction-operand-size i... | common-lisp | chosen |
[
{
"from": "system",
"value": "Move byte regions accepts integer.\n"
},
{
"from": "human",
"value": "(in-package :toolbox)\n(annot:enable-annot-syntax)\n\n\n@export\n(defun map-positive-byte-regions (value)\n (declare (type integer value))\n (iterate\n (for i from 0 below (integer-length val... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add initial-setup wrapper function to simplify configuration and syncing\n"
},
{
"from": "human",
"value": ";;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: RSN-MTG; Base: 10 -*- file: rsn-mtg.lisp\n\n;;;; Copyright (c) 2013 \"the Phoeron\" Colin J.E. Lupton <//th... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use accessor rather than separate reader and writer.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-clos)\n\n(defclass class (specializer)\n ((%unique-number \n ;; FIXME: the unique numbers should be assigned during class\n ;; finalization, and not ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Load a file containing the definition of STANDARD-SLOT-DEFINITION.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-boot)\n\n(defun create-bridge-classes (boot)\n (let ((c (c1 boot))\n\t(r (r2 boot)))\n (ld \"../CLOS/t-defclass.lisp\" c r)\n (ld \"../... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add CLUMP-2-3-TREE as a dependency for system CLUMP.\n"
},
{
"from": "human",
"value": "(cl:in-package #:asdf-user)\n\n(defsystem clump\n :description \"Library for operations on different kinds of trees\"\n :author \"Robert Strandh <robert.strandh@gmail.com>\"\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define a custom version of DEFGENERIC in compilation environment C1.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-boot)\n\n(defun customize-c1 (boot)\n (message \"Customizing compilation environment C1~%\")\n (message \"Finished customizing compilation... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add :license to system file\n"
},
{
"from": "human",
"value": ";;;; zcdb.asd\n\n(asdf:defsystem #:zcdb\n :serial t\n :version \"1.0.3\"\n :description \"Read and write cdb files, as specified in\n http://cr.yp.to/cdb.html\"\n :author \"Zach Be... | common-lisp | chosen |
[
{
"from": "system",
"value": "Rename parent parameter for improved readability.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-binary-tree)\n\n;;; Make CHILD the left child of NODE.\n(defgeneric link-left (node child))\n\n;;; Make CHILD the right child of NODE.\n(defgeneric link-right... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix system names (slash instead of dot)\n\nThe latest commit (0fef8c1) of IOLIB (https://github.com/sionescu/iolib) uses slashes instead of dots in system names.\r\n\r\nChanging this fixes the compilation process of IOLIB.TERMIO."
},
{
"from": "human",
"value": ";;;... | common-lisp | chosen |
[
{
"from": "system",
"value": "Make RESOLVER-ERROR a subtype of ERROR.\n"
},
{
"from": "human",
"value": ";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n;;;\n;;; --- Resolver conditions.\n;;;\n\n(in-package :iolib.sockets)\n\n(define-condition resolver-error ()\n ((dat... | common-lisp | chosen |
[
{
"from": "system",
"value": "Update package name to reflect move from phase 2 to phase 1.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-boot-phase2)\n\n(cl:defclass bridge-generic-function\n (#+sbcl sb-pcl:funcallable-standard-object\n sicl-boot-phase1:standard-generic-functio... | common-lisp | chosen |
[
{
"from": "system",
"value": "Remove the call of NOT-FOUND function from router\n"
},
{
"from": "human",
"value": "(in-package #:eloquent.mvc.middleware)\n\n(defun make-static-file (path-info prefix root)\n (let ((path (remove-prefix prefix path-info)))\n (merge-pathnames path\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Change singleton agent \"lock\" port number to avoid conflict with some Windows service.\n"
},
{
"from": "human",
"value": ";;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-\r\n;;;; Copyright (C) 2011 Ant... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add copyright dates and license statement.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-clos)\n\n;;; FIXME: I can not remember why I decided not to use initargs for\n;;; the slots here, and instead calling explicit writers in :AFTER\n;;; methods on INITI... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add the usual test boilerplate to the system file\n\ndarcs-hash:20080727223559-3cc5d-13f2c1a24208f39b43c1a1dbd4c20378d1b31d5b.gz\n"
},
{
"from": "human",
"value": "(defpackage #:dynamic-classes-system (:use #:common-lisp #:asdf))\n(in-package #:dynamic-classes-syste... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use explicit package prefix for IN-PACKAGE.\n"
},
{
"from": "human",
"value": "(in-package :sicl-arithmetic)\n\n(defun + (&rest args)\n (cond ((null args) 0)\n\t;; FIXME: check that we have a number\n\t((null (cdr args)) (car args))\n\t(t (apply #'+ (binary-+ (car ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add condition reporter for new condition.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-data-and-control-flow)\n\n(defmethod cleavir-i18n:report-condition\n ((condition odd-number-of-arguments-to-setf)\n stream\n (langauge cleavir-i18n:english)... | common-lisp | chosen |
[
{
"from": "system",
"value": "Change namespace of custom vocabularies music and bravoer\n\nUse the mu.semte.ch ext namespace for vocabularies which don't have a\npermanent URI yet\n"
},
{
"from": "human",
"value": "(in-package :mu-cl-resources)\n\n(add-prefix \"nie\" \"http://www.semanticdesktop... | common-lisp | chosen |
[
{
"from": "system",
"value": "Call function LEAVE before returning or entering right subtree.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-binary-tree)\n\n(defgeneric iterative-traversal (tree enter leave))\n\n(defmethod iterative-traversal ((tree node-with-parent) enter leave)\n (... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add license attribute to asdf file.\n"
},
{
"from": "human",
"value": "(in-package :asdf-user)\n\n(defsystem \"bytecurry.asdf-ext\"\n :class :package-inferred-system\n :author \"Thayne McCombs\"\n :maintainer \"Thayne McCombs\"\n :mailto \"bytecurry.software@gma... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add comment about possibly useless *ENVIRONMENT-MACROS*.\n"
},
{
"from": "human",
"value": "; tré – Copyright (c) 2011–2013,2015 Sven Michael Klose <pixel@copei.de>\n\n(define-expander 'standard-macros)\n(set-expander-macros 'standard-macros *macros*)\n(= *standard-... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add grep to asd file.'\n"
},
{
"from": "human",
"value": "(in-package :cl-user)\n\n(defpackage :med-asd\n (:use :cl :asdf))\n\n(in-package :med-asd)\n\n(defsystem :med\n :version \"0.1\"\n :description \"med - Mezzano EDitor\"\n :serial t\n :components ((:file ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define new class OPTIONAL-PARAMETER using generalized class as superclass.\n"
},
{
"from": "human",
"value": "(cl:in-package #:cleavir-cst)\n\n(defclass optional-or-keyword--parameter ()\n (;; This slot contains the CST for the obligatory variable of the\n ;; par... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define ASDF system in package ASDF-USER.\n"
},
{
"from": "human",
"value": "(in-package #:cl-user)\n\n(asdf:defsystem :sicl-sequences-small-test\n :depends-on (:lisp-unit :sicl-sequences-small)\n :components\n ((:file \"test\" :depends-on ())))\n"
},
{
"f... | common-lisp | chosen |
[
{
"from": "system",
"value": "Include support code for ENSURE-CLASS-USING-CLASS.\n"
},
{
"from": "human",
"value": "(cl:in-package #:asdf-user)\n\n(defsystem :sicl-clos-support\n :depends-on (:sicl-clos-package\n\t :sicl-global-environment)\n :serial t\n :components\n ((:file \"ensure-... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add initargs for :DESCRIPTION, :AUTHOR, and :LICENSE.\n"
},
{
"from": "human",
"value": "(cl:in-package #:asdf-user)\n\n(defsystem clump\n :depends-on (:clump-binary-tree))\n"
},
{
"from": "gpt",
"value": "(cl:in-package #:asdf-user)\n\n(defsystem clump... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add local-time to the list of deps\n"
},
{
"from": "human",
"value": "(defpackage #:info.isoraqathedh.umpns.asdf\n (:use #:cl #:asdf))\n(in-package #:info.isoraqathedh.umpns.asdf)\n\n(defsystem umpns\n :name \"UMPNS-based Minor Planet Namer\"\n :version \"0.1\"\n... | common-lisp | chosen |
[
{
"from": "system",
"value": "Adjust output of test case to new behavior.\n\n\ngit-svn-id: 9ecf60ce9baff443e30a0472d3fd222fcb8117cf@2745 7b97033b-253e-4a5c-9b07-e25f9089a9fd\n"
},
{
"from": "human",
"value": "(test-directories \".\")\n\n(test \n\n (\"Bug 0099 : Extra 'let' in generated proof obl... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use function GLOBAL-ENVIRONMENT rather than obsolete special variable.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-data-and-control-flow)\n\n(defun fdefinition (function-name)\n (sicl-global-environment:fdefinition\n function-name\n sicl-global-env... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix test to reflect change to scheme style reduce.\n"
},
{
"from": "human",
"value": "(describe reduce-with-lambda\n (== (reduce (lambda (acc item) 0 (+ acc item)) 0 '(1 2 3)) 6))\n \n(describe reduce-with-primitive\n (== (reduce + 0 '(1 2 3)) 6))\n \n(d... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define abstractions for access to target GF database.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-clos)\n\n(defparameter *target-generic-functions* '())\n"
},
{
"from": "gpt",
"value": "(cl:in-package #:sicl-clos)\n\n(defparameter *target-ge... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add comment explaining the purpose of the slot OPERATION in class PORT.\n"
},
{
"from": "human",
"value": "(cl:in-package #:cleavir-dataflow-analysis)\n\n(defclass port ()\n ((%operation :initarg :operation :reader operation)\n (%datum :initarg :datum :reader dat... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment\n\ndarcs-hash:20050719152230-dd2a1-020627dbba3080ad3dd9b8086e892978f81028d3.gz\n"
},
{
"from": "human",
"value": ";;;; -*- lisp -*-\n\n(in-package :it.bese.arnesi)\n\n;;;; * Porta... | common-lisp | chosen |
[
{
"from": "system",
"value": "Update cl-postgres integration system file\n\nFixes issue #39.\n"
},
{
"from": "human",
"value": "(defsystem :cl-postgres+local-time\n :depends-on (:cl-postgres :local-time)\n :components ((:module \"src\"\n :components ((:module \"integration\"\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Load a file containing the definition of the class CLASS.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-boot)\n\n(defun create-bridge-classes (boot)\n (let ((c (c1 boot))\n\t(r (r2 boot)))\n (ld \"../CLOS/t-defclass.lisp\" c r)\n (ld \"../CLOS/stan... | common-lisp | chosen |
[
{
"from": "system",
"value": "Set fdefinition of SICL-CLOS:INITIALIZE-INSTANCE to CL:INITIALIZE-INTANCE.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-clos)\n\n(defmethod initialize-instance (object &rest keys &key)\n (declare (ignore object keys))\n nil)\n\n(cl:defmethod cl:initial... | common-lisp | chosen |
[
{
"from": "system",
"value": "Call FINISH-OUTPUT after writing trace message.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-extrinsic-environment)\n\n(defun load-file (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (load-source-with-environments\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Remove call to truename to fix CNAME generation.\n"
},
{
"from": "human",
"value": "(eval-when (:compile-toplevel :load-toplevel)\n (ql:quickload 'puri))\n\n(defpackage :coleslaw-gh-pages\n (:use :cl)\n (:import-from :puri #:parse-uri #:uri-host)\n (:import-from... | common-lisp | chosen |
[
{
"from": "system",
"value": "Remove old unused function test-gird-reporting::list-failures\n"
},
{
"from": "human",
"value": ";;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; -*-\r\n;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)\r\n;;; See LICENSE f... | common-lisp | chosen |
[
{
"from": "system",
"value": "CONTAINER-CONDITION: Correct typo in class defn\n"
},
{
"from": "human",
"value": ";; math-system-utils.lisp - misc. utility forms\n\n(in-package #:math)\n\n(define-condition entity-condition ()\n ((name\n :initarg :name\n :reader entity-condition-name)))\n\n... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add include path for OSX\n\nDarwin ports installs .h files under /opt/local/include/, so put -I\noption onto cffi-grovel::*cc-flags*.\n"
},
{
"from": "human",
"value": ";; Declaration of package\n;; Liam Healy 2009-02-22 09:55:45EST pkgdcl.lisp\n;; Time-stamp: <2009... | common-lisp | chosen |
[
{
"from": "system",
"value": "Define generic function 3-NODE-P with two methods.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-2-3-tree)\n\n(defclass tree ()\n ((%contents :initform nil :accessor contents)\n (%leaf-class :initarg :leaf-class :reader leaf-class)\n (%2-node-class ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix typo in a docstring.\n"
},
{
"from": "human",
"value": "(defpackage #:eos-api\r\n (:use :cl #:api-dsl)\r\n (:export #:run-test-suites\r\n #:failed-tests))\r\n\r\n(in-package #:eos-api)\r\n\r\n(proclfun run-test-suites (&rest (test-suite-spec symbol))... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add comment explaining what ITERATIVE-TRAVERSAL does.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-binary-tree)\n\n(defgeneric iterative-traversal (tree pre in post))\n\n(defmethod iterative-traversal ((tree node-with-parent) pre in post)\n (let ((curr... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add English documentation for function (SETF RIGHT).\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-binary-tree)\n\n(setf (documentation 'left 'function)\n (format nil \"Given a binary tree, return the left child of that tree.~@\n I... | common-lisp | chosen |
[
{
"from": "system",
"value": "CASE: TEST keyword accepted as first argument.\n"
},
{
"from": "human",
"value": ";;;; TRE environment\n;;;; Copyright (c) 2005-2008 Sven Klose <pixel@copei.de>\n\n(defmacro when (predicate &rest expr)\n `(and ,predicate\n ,(if (cdr expr)\n\t `(progn... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use package ASDF-USER to define system.\n"
},
{
"from": "human",
"value": "(cl:in-package #:common-lisp-user)\n\n(asdf:defsystem :cleavir-hir\n :depends-on (:cleavir-ir)\n :serial t\n :components\n ((:file \"data\")\n (:file \"box-unbox-mixins\")\n (:file \"... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use Cleavir def of x86-64.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-extrinsic-file-compiler)\n\n(defparameter *sicl* (make-instance 'sicl-target-sicl:sicl))\n\n(defparameter *gnu-linux* (make-instance 'sicl-os-gnu-linux:gnu-linux))\n\n(defparameter *... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix a little error on CommonLisp solution at P001\n\nThe loop-for macro using ~from-to~ had a interval closed [a, b]\ndiffers common range functions like Python and Clojure, whose\nthe range is [a, b).\n"
},
{
"from": "human",
"value": ";; Common Lisp version\n;; Ma... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add description to .asd file.\n"
},
{
"from": "human",
"value": ";;\n;; Copyright (c) 2005-2010, Peter Seibel. All rights reserved.\n;;\n\n(defsystem com.gigamonkeys.parser\n :author \"Peter Seibel <peter@gigamonkeys.com>\"\n :components\n ((:file \"packages\")\n... | common-lisp | chosen |
[
{
"from": "system",
"value": "Use explicit package prefix for IN-PACKAGE.\n"
},
{
"from": "human",
"value": "(in-package #:sicl-data-and-control-flow)\n\n(defmacro setf (&whole form &environment env place new-value-form &rest more-pairs)\n (cond ((null more-pairs)\n\t (multiple-value-bind (vari... | common-lisp | chosen |
[
{
"from": "system",
"value": "Fix symbols in static pages plugin some more.\n"
},
{
"from": "human",
"value": "(defpackage :coleslaw-static-pages\n (:use :cl)\n (:export #:enable)\n (:import-from :coleslaw #:*config*\n #:content\n #:content-te... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add option to reset error flag\n"
},
{
"from": "human",
"value": "(in-package :clox)\n\n(let ((had-error nil))\n\n (-> had-error () boolean)\n (defun had-error ()\n had-error)\n\n (-> raise-error (integer string) null)\n (defun raise-error (line message)\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add lat, lon, and ele exports.\n"
},
{
"from": "human",
"value": ";;;; package.lisp\n\n(defpackage #:gpxtools\n (:use #:cl)\n (:export #:read-gpx\n #:distance\n #:elevation-gain\n #:elevation-loss\n #:distance-between\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Make the wsdeque test less expensive.\n"
},
{
"from": "human",
"value": ";;;; © 2016-2020 Marco Heisig - license: GNU AGPLv3 -*- coding: utf-8 -*-\n\n(in-package #:petalisp.test-suite)\n\n(check-package '#:petalisp.utilities)\n\n(define-test wsdeque-test\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Convert CONST to DEFCONSTANT, not to DEFVAR.\n"
},
{
"from": "human",
"value": "(%defmacro defvar (name &optional (init '%%%no-init))\n (print-definition `(var ,name))\n (? (not (symbol? name))\n (%error \"Symbol expected as variable name.\"))\n `(%defvar ,na... | common-lisp | chosen |
[
{
"from": "system",
"value": "Include component conditions.lisp in system definition.\n"
},
{
"from": "human",
"value": "(cl:in-package #:asdf-user)\n\n(defsystem :sicl-sequence-support\n :serial t\n :components\n ((:file \"packages\")\n (:file \"utilities\")\n (:file \"find\")\n (:file... | common-lisp | chosen |
[
{
"from": "system",
"value": "Make sure the computation terminates even though the AST has cycles.\n"
},
{
"from": "human",
"value": "(cl:in-package #:cleavir-ast-transformations)\n\n(defun find-load-time-value-asts (ast)\n (if (typep ast 'cleavir-ast:load-time-value-ast)\n (list ast)\n ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add LTK as system dependency\n"
},
{
"from": "human",
"value": ";;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: WOLFCOIN; Base: 10 -*- file: wolfcoin.asd\n\n;;;; Copyright (c) 2014 \"the Phoeron\" Colin J.E. Lupton <//thephoeron.com>\n;;;; See LICENSE for additio... | common-lisp | chosen |
[
{
"from": "system",
"value": "Put the first URL into a named parameter\n"
},
{
"from": "human",
"value": "(in-package :lispkit)\n\n\n(defun load-ui-from-file (path)\n (if (probe-file path)\n (let ((builder (gtk:gtk-builder-new)))\n (gtk:gtk-builder-add-from-file builder (namestring ... | common-lisp | chosen |
[
{
"from": "system",
"value": "Switch development mode back on.\n"
},
{
"from": "human",
"value": "(%defvar *development?* nil)\n(%defvar *assert?* t)\n(%defvar *print-definitions?* t)\n\n;; Optional environment sections.\n\n(%defvar *tre-has-math* t) ; Mathematical functions.\n... | common-lisp | chosen |
[
{
"from": "system",
"value": "Add missing argument for setter.\n"
},
{
"from": "human",
"value": "(defmacro define-get-alias (alias real &key (class nil))\n `(defmethod ,class ,($ 'get- alias) ()\n ,real))\n\n(defmacro define-set-alias (alias real &key (class nil))\n `(defmethod ,class ,(... | common-lisp | chosen |
[
{
"from": "system",
"value": "NUMBER-STRING: Use native String instead of FORMAT.\n"
},
{
"from": "human",
"value": ";;;;; tré – Copyright (c) 2008–2014 Sven Michael Klose <pixel@copei.de>\n\n(declare-cps-exception string %string? string? string== string-concat string-upcase string-downcase stri... | common-lisp | chosen |
[
{
"from": "system",
"value": "Remove class definition. Now, Binary-tree contains definition of node with parent.\n"
},
{
"from": "human",
"value": "(cl:in-package #:clump-splay-tree)\n\n(defclass node (clump-binary-tree:node)\n ((%parent :initarg :parent :initform nil :accessor parent)))\n\n(d... | common-lisp | chosen |
[
{
"from": "system",
"value": "libraries/download-manager: Replace offline slack.net with Wikipedia.\n"
},
{
"from": "human",
"value": ";;;; SPDX-FileCopyrightText: Atlas Engineer LLC\n;;;; SPDX-License-Identifier: BSD-3-Clause\n\n(in-package :cl-user)\n\n(prove:plan nil)\n\n(prove:subtest \"Simp... | common-lisp | chosen |
[
{
"from": "system",
"value": "Load file containing definition of MULTIPLE-VALUE-BIND.\n"
},
{
"from": "human",
"value": "(cl:in-package #:sicl-extrinsic-environment)\n\n(defun fill-environment (environment)\n (import-from-host-common-lisp environment)\n (import-from-sicl-global-environment env... | common-lisp | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.