all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
Subject: Re: assert()ing in elisp
Date: Thu, 29 Jun 2006 06:26:09 -0700	[thread overview]
Message-ID: <87lkrg6qku.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: a8b6cd360606290305s19198ae8t16b52bc38e923c2d@mail.gmail.com

Here's one example:
(defun assert= (expected actual)
  (when (not (string-equal expected actual))
    (error "expected %S; got %S" expected actual)))
-- 
There is such a thing as American-ness.  ... [H]ackers ... come
closest of any group I know to embodying it.  Closer, probably, than
the men running our government.
        -- Paul Graham

  parent reply	other threads:[~2006-06-29 13:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29 10:05 assert()ing in elisp lalit mohan tripathi
2006-06-29 13:14 ` Kevin Rodgers
2006-06-29 13:26 ` Eric Hanchrow [this message]
     [not found] ` <mailman.3510.1151588330.9609.help-gnu-emacs@gnu.org>
2006-06-29 17:12   ` Giorgos Keramidas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lkrg6qku.fsf@offby1.atm01.sea.blarg.net \
    --to=offby1@blarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.