Put the contents of the files in this gist in $HOME/.grc/
in their respective files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.michaelavila; | |
import java.util.Optional; | |
import java.util.function.Function; | |
class Either<A,B> { | |
private A left = null; | |
private B right = null; | |
private Either(A a, B b) { |
brew install grc
- add
alias mvn='grc -c conf.mvn mvn'
to your~/.profile
- copy the other file in this gist to
~/.grc/conf.mvn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let base16colorspace=256 | |
colorscheme base16-default-dark | |
let shellbg=$SHELLBG | |
if shellbg == 'dark' | |
set background=dark | |
highlight LineNr ctermfg=blue ctermbg=black | |
else | |
set background=light | |
highlight LineNr ctermfg=blue ctermbg=white | |
endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
typealias Properties = Dictionary<String,Any?> | |
struct TypeKey { | |
let type: Any.Type | |
} |
Control.Lens
helps you to get, set, and modify the particulars of your data.
The ideas behind lens are interesting for a number of reasons, not the least
of which is composability. Because of this, Simon Peyton Jones titled his talk
on lens "Compositional Data Access and Manipulation", which is a great title.
You should watch that talk.
The agenda is:
OlderNewer