Skip to content

Instantly share code, notes, and snippets.

module.exports = {
config: {
shell: '/usr/local/bin/fish',
fontSize: 11,
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
cursorColor: '#839496',
backgroundColor: '#002b36',
@jameslintaylor
jameslintaylor / generic-class-as-associated-type.swift
Created November 28, 2016 19:35
generic class as associated type
class GenericClass<T> {}
protocol Protocol {
associatedtype A
associatedtype C : GenericClass<A>
// func f(c: C)
}
class IntClass : GenericClass<Int> {}