Skip to content

Instantly share code, notes, and snippets.

View seankearon's full-sized avatar
💭
coding up a storm!

seankearon

💭
coding up a storm!
View GitHub Profile
@seankearon
seankearon / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@seankearon
seankearon / gist:de261ac578de1a735b26f23b0ce78155
Created August 31, 2017 07:29 — forked from robertpi/gist:2964793
F# record implementing an interface
namespace MyNamespace
type IMyInterface =
abstract GetValue: unit -> string
type MyRecord =
{ MyField1: int
MyField2: string }
interface IMyInterface with
member x.GetValue() = x.MyField2