Skip to content

Instantly share code, notes, and snippets.

@manzyuk
manzyuk / gist:1239480
Created September 24, 2011 15:58
Solution of the ITA's "Strawberry Fields" puzzle.
import Data.Array
import Data.Char
import Data.List
import Data.Maybe
import Data.Ord
import Control.Applicative
import System.Environment
import System.IO.Unsafe
@manzyuk
manzyuk / gist:1239482
Created September 24, 2011 16:00
Solution of the ITA's "Strawberry Fields" puzzle (program's output).
41
.............
.............
.............
...AAAA......
...AAAA......
...AAAA......
.......BBB...
.......BBB...
.......BBB...
@manzyuk
manzyuk / lam-T.ss
Created July 1, 2012 21:55
Formalization of the perturbative λ-calculus in Redex
#lang racket
(require redex)
(define-language λT
;; Terms
(e x
(λ (x) e)
(e e)
0
(+ e ...)

Keybase proof

I hereby claim:

  • I am manzyuk on github.
  • I am manzyuk (https://keybase.io/manzyuk) on keybase.
  • I have a public key whose fingerprint is FA9F 0242 2196 03AC FDED 4C2E FFCD 7A93 6C08 6A78

To claim this, I am signing this object:

import algebra.category.CommRing
import category_theory.yoneda
import data.polynomial.algebra_map
open category_theory
open opposite
open polynomial
noncomputable theory
<html>
<body style="margin: 0">
<div id="root"></div>
<script src="https://unpkg.com/[email protected]/umd/react.development.js"></script>
<script src="https://unpkg.com/[email protected]/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/@babel/[email protected]/babel.js"></script>
<script src="https://unpkg.com/@babel/[email protected]/babel.js"></script>
<script type="text/babel">
const items = [
{ id: 1, label: "Item 1", details: "Details for item 1" },