Skip to content

Instantly share code, notes, and snippets.

View FrankC01's full-sized avatar

Frank V. Castellucci FrankC01

View GitHub Profile
@FrankC01
FrankC01 / partial.c
Created September 10, 2017 13:43
Simple example of lambda calculus 'partial' application in C
//partial.c
/*
Author: Frank V. Castellucci
Simple example to demonstrate 'partial' application (lambda calculus)
of function.
Brief Intro:
I've created a compiled function language 'CFL' which supports curry/partial
application of functions, lambdas and closures. CFL:
Is typeless, everything is an OBJ* (see below for simplified)
@mrange
mrange / fsharp_advent_2016_12_10.md
Last active December 14, 2019 21:44
F# Advent 2016 (English) - December 10 - Implementing a persistent hash map.
/*
Put that Line of code somewhere before you initialize the javascript application
You can read a Blogpost about that topic here:
https://medium.com/shopgate-mobile-commerce/hacking-tvml-4387e65a9b94#.o2onhfgo4
*/
[TVInterfaceFactory sharedInterfaceFactory].extendedInterfaceCreator = [CustomInterfaceCreator new];
@ianmackinnon
ianmackinnon / match.c
Created August 8, 2012 12:01
C Regex multiple matches and groups example
# gcc -Wall -o match match.c && ./match
#
#include <stdio.h>
#include <string.h>
#include <regex.h>