Skip to content

Instantly share code, notes, and snippets.

View kutyel's full-sized avatar
🌊
数学者に俺は成る!

Flavio Corpa kutyel

🌊
数学者に俺は成る!
View GitHub Profile
@kutyel
kutyel / Optics.hs
Created October 9, 2020 22:19 — forked from robrix/Optics.hs
Optics via fused-effects
{-# LANGUAGE RankNTypes #-}
module Optics where
import Control.Category ((>>>))
import qualified Control.Category as Cat
import Control.Effect.Empty
import Control.Effect.NonDet hiding (empty)
import Control.Monad ((<=<))
-- riffing off of @serras’s post https://gist.github.com/serras/5152ec18ec5223b676cc67cac0e99b70
@kutyel
kutyel / FTN-Tupas.md
Created May 20, 2024 10:34 — forked from ykarikos/FTN-Tupas.md
FTN Test accounts and personal ID numbers for Finnish bank authentication
@kutyel
kutyel / bsky-comments.js
Last active November 26, 2024 12:38 — forked from LoueeD/bsky-comments.js
bluesky comments web component - inspired by emilyliu and coryzue
class BskyComments extends HTMLElement {
constructor() {
super();
this.attachShadow({ mode: "open" });
this.visibleCount = 3;
this.thread = null;
this.error = null;
}
connectedCallback() {