Skip to content

Instantly share code, notes, and snippets.

View gogotanaka's full-sized avatar

Kazuki Tanaka gogotanaka

View GitHub Profile
@gogotanaka
gogotanaka / gist:b8c5688863d9c4774cd8
Last active August 29, 2015 14:12
Zコンビネーター、Ruby
@gogotanaka
gogotanaka / file0.coffee
Last active August 29, 2015 14:09
世界で一番ピュアな論理型プログラミング言語Hilbert(ヒルベルト)をRubyで作った. ref: http://qiita.com/gogotanaka/items/97ae187156541c8eaa9d
A # 命題Aが真である事の宣言
A -> B # 命題A->Bが真である事の宣言
B? # Aが真かつA-BならばBは真
#=> TRUE