Skip to content

Instantly share code, notes, and snippets.

View odomanov's full-sized avatar

odomanov

  • Novosibirsk, Russia
  • 16:07 (UTC +07:00)
View GitHub Profile
@odomanov
odomanov / org-roam-setup-v2.el
Last active May 4, 2022 03:58
Emacs setup for org-roam-ui
;; For Org-roam version 2.
;; Links should be defined in Org mode (see below)
;; (defface org-roam-link-major
;; '((t (:inherit org-link
;; :foreground "Indian Red"
;; )))
;; "Face for 'major' links."
;; :group 'org-roam-faces)
@odomanov
odomanov / EqReflection.agda
Last active May 7, 2022 17:43
agda-eq-derivation
-- Automatic derivation of equality for inductive types. Examples.
-- Inspired by https://github.com/alhassy/gentle-intro-to-reflection.
-- Tested on: Agda version 2.6.2.1-59c7944, std-lib 1.7
module _ where
open import Data.Bool
open import Data.List
open import Data.Unit
open import Relation.Binary.PropositionalEquality