This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket | |
(define (f x) (cond [#f ;; or some other arbitrary computation that gives #f | |
(g x)] | |
[else x])) | |
(f 0) | |
(define (g x) x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun switch-hyphen () | |
(interactive) | |
(define-key coq-mode-map (kbd "-") '(lambda () (interactive) (insert "_"))) | |
(define-key coq-mode-map (kbd "_") '(lambda () (interactive) (insert "-")))) | |
(add-hook 'coq-mode-hook 'switch-hyphen) |
NewerOlder