Skip to content

Instantly share code, notes, and snippets.

@mrange
mrange / formlet2.fs
Last active May 22, 2016 11:33
Demonstrating monadic forms in F# and WPF
// A Formlet library for WPF - Inspired by Formlets in Websharper
// The Formlet concept will work fine for Windows.Forms and Xamarin.Forms as well
// This Formlet library doesn't try to be complete. It's an illustration on how
// a Formlet library can be built
#if INTERACTIVE
#r "PresentationCore.dll"
#r "PresentationFrameWork.dll"
#r "WindowsBase.dll"

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@pathikrit
pathikrit / README.md
Last active April 24, 2021 17:36
My highly opinionated list of things needed to build an app in Scala
@Krzysztof-Cieslak
Krzysztof-Cieslak / dsl.fsx
Created November 19, 2019 15:36
Using F# 4.7 implicit yield feature to implement DSL in F#
//Builder represeting only one entity in DSL
type Child1State = {SomeState : string}
type Child1Builder () =
[<CustomOperation("set_state")>]
member __.SetState (st, x) = {st with SomeState = x}
@onlurking
onlurking / programming-as-theory-building.md
Last active May 25, 2024 15:28
Programming as Theory Building - Peter Naur

Programming as Theory Building

Peter Naur

Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct

@ssrihari
ssrihari / clojure-learning-list.md
Last active May 27, 2024 06:59
An opinionated list of excellent Clojure learning materials

An opinionated list of excellent Clojure learning materials

These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.

  • 🔴 Mandatory (for both beginners and intermediates)
  • 🟩 For beginners
  • 🟨 For intermediates

Table of contents

  1. Getting into the language
@veekaybee
veekaybee / normcore-llm.md
Last active May 27, 2024 10:55
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models