Skip to content

Instantly share code, notes, and snippets.

@spdegabrielle
spdegabrielle / insert-☯.rkt
Last active November 11, 2021 17:06
insert-☯.rkt
#lang racket/base
(require quickscript)
(script-help-string "A collection of keyboard shortcuts to support the Qi language.")
;; ☯
(define-script insert-☯
#:label "☯"
PostgreSQL Type PostgreSQL Size Description Range Diesel Type Rust Type
Nullable Types nullable Nullable``
@tonyg
tonyg / monad.rkt
Last active February 27, 2025 03:46
Monads in Racket
#lang racket/base
;; Monads in Racket, including polymorphic bind, return and fail.
;; Haskell-like do-notation.
(provide define-monad-class
(struct-out monad-class)
monad?
gen:monad
monad->monad-class
determine-monad